From ad90bc5a9acc86cae83afd1c776fb4f5ff18264a Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Thu, 29 Feb 2024 16:16:16 +0100 Subject: [PATCH] ADD: also push to docker --- .drone.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index d8312f9..da1700b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -69,6 +69,11 @@ steps: - name: push image: quay.io/buildah/stable privileged: true + environment: + USERNAME: + from_secret: username + PASSWORD: + from_secret: password volumes: - name: fedhq-ca-crt path: /etc/ssl/certs2/ @@ -76,7 +81,24 @@ steps: - scripts/setupEnvironment.sh - buildah manifest create redmine:latest registry.cloud.federationhq.de/redmine:latest-arm64 registry.cloud.federationhq.de/redmine:latest-amd64 - buildah manifest push --all redmine:latest docker://registry.cloud.federationhq.de/redmine:latest + - buildah login -u $${USERNAME} -p $${PASSWORD} registry.hub.docker.com + - buildah manifest push --all fhem:latest docker://registry.hub.docker.com/byterazor/redmine:latest - buildah manifest rm redmine:latest depends_on: - build-amd64 - - build-arm64 \ No newline at end of file + - build-arm64 + + +--- +kind: secret +name: username +get: + path: docker + name: username + +--- +kind: secret +name: password +get: + path: docker + name: secret