Compare commits

..

2 Commits
test ... main

Author SHA1 Message Date
8724948287
build: switch to building on different nodes
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-14 13:58:19 +02:00
cff045b665
build: also push to docker hub
All checks were successful
continuous-integration/drone Build is passing
2024-08-30 15:39:04 +02:00

View File

@ -5,7 +5,7 @@ platform:
arch: amd64
node_selector:
kubernetes.io/arch: amd64
federationhq.de/location: Blumendorf
federationhq.de/compute: true
volumes:
- name: fedhq-ca-crt
@ -33,7 +33,7 @@ platform:
arch: arm64
node_selector:
kubernetes.io/arch: arm64
federationhq.de/location: Blumendorf
federationhq.de/compute: true
volumes:
- name: fedhq-ca-crt
@ -59,7 +59,7 @@ type: kubernetes
name: push
node_selector:
kubernetes.io/arch: amd64
federationhq.de/location: Blumendorf
federationhq.de/compute: true
volumes:
- name: fedhq-ca-crt
@ -72,6 +72,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/
@ -79,7 +84,26 @@ steps:
- scripts/setupEnvironment.sh
- buildah manifest create registry.cloud.federationhq.de/netcat:latest registry.cloud.federationhq.de/netcat:latest-arm64 registry.cloud.federationhq.de/netcat:latest-amd64
- buildah manifest push registry.cloud.federationhq.de/netcat:latest docker://registry.cloud.federationhq.de/netcat:latest
- buildah login -u $${USERNAME} -p $${PASSWORD} registry.hub.docker.com
- buildah manifest push --all netcat:latest docker://registry.hub.docker.com/byterazor/netcat:latest
- buildah manifest rm registry.cloud.federationhq.de/netcat: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