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,
|
||||
image: "plugins/docker",
|
||||
settings: {
|
||||
repo: "drone/" + name,
|
||||
repo: "drone/" + if name == "server" then "drone" else name,
|
||||
auto_tag: true,
|
||||
auto_tag_suffix: os + "-" + arch,
|
||||
username: { from_secret: "docker_username" },
|
||||
|
|
|
@ -69,7 +69,7 @@ steps:
|
|||
dockerfile: docker/Dockerfile.server.linux.amd64
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: drone/server
|
||||
repo: drone/drone
|
||||
username:
|
||||
from_secret: docker_username
|
||||
when:
|
||||
|
@ -152,7 +152,7 @@ steps:
|
|||
dockerfile: docker/Dockerfile.server.linux.arm
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: drone/server
|
||||
repo: drone/drone
|
||||
username:
|
||||
from_secret: docker_username
|
||||
when:
|
||||
|
@ -235,7 +235,7 @@ steps:
|
|||
dockerfile: docker/Dockerfile.server.linux.arm64
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: drone/server
|
||||
repo: drone/drone
|
||||
username:
|
||||
from_secret: docker_username
|
||||
when:
|
||||
|
|
Loading…
Reference in a new issue