Fix server docker image name
This commit is contained in:
parent
c99d282219
commit
77b19f8969
2 changed files with 4 additions and 4 deletions
|
@ -27,7 +27,7 @@ local docker(name, os, arch) = {
|
||||||
name: "publish_" + name,
|
name: "publish_" + name,
|
||||||
image: "plugins/docker",
|
image: "plugins/docker",
|
||||||
settings: {
|
settings: {
|
||||||
repo: "drone/" + name,
|
repo: "drone/" + if name == "server" then "drone" else name,
|
||||||
auto_tag: true,
|
auto_tag: true,
|
||||||
auto_tag_suffix: os + "-" + arch,
|
auto_tag_suffix: os + "-" + arch,
|
||||||
username: { from_secret: "docker_username" },
|
username: { from_secret: "docker_username" },
|
||||||
|
|
|
@ -69,7 +69,7 @@ steps:
|
||||||
dockerfile: docker/Dockerfile.server.linux.amd64
|
dockerfile: docker/Dockerfile.server.linux.amd64
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: drone/server
|
repo: drone/drone
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
when:
|
when:
|
||||||
|
@ -152,7 +152,7 @@ steps:
|
||||||
dockerfile: docker/Dockerfile.server.linux.arm
|
dockerfile: docker/Dockerfile.server.linux.arm
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: drone/server
|
repo: drone/drone
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
when:
|
when:
|
||||||
|
@ -235,7 +235,7 @@ steps:
|
||||||
dockerfile: docker/Dockerfile.server.linux.arm64
|
dockerfile: docker/Dockerfile.server.linux.arm64
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: drone/server
|
repo: drone/drone
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue