Fix server docker image name

This commit is contained in:
Thomas Boerger 2019-02-20 07:42:25 +01:00
parent c99d282219
commit 77b19f8969
No known key found for this signature in database
GPG key ID: 09745AFF9D63C79B
2 changed files with 4 additions and 4 deletions

View file

@ -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" },

View file

@ -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: