ADD: also push to docker
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dominik Meyer 2024-02-29 16:16:16 +01:00
parent 930639c851
commit ad90bc5a9a
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -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
- build-arm64
---
kind: secret
name: username
get:
path: docker
name: username
---
kind: secret
name: password
get:
path: docker
name: secret