Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
bfdfb6dae7 | |||
766ae469ba | |||
b0a2ba9833 | |||
555c73a855 | |||
77f5976bf8 | |||
50e916cf8b | |||
41a73c3601 |
32
.drone.yml
32
.drone.yml
@ -5,7 +5,7 @@ platform:
|
|||||||
arch: amd64
|
arch: amd64
|
||||||
node_selector:
|
node_selector:
|
||||||
kubernetes.io/arch: amd64
|
kubernetes.io/arch: amd64
|
||||||
federationhq.de/compute: true
|
federationhq.de/location: Blumendorf
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: fedhq-ca-crt
|
- name: fedhq-ca-crt
|
||||||
@ -33,7 +33,7 @@ platform:
|
|||||||
arch: arm64
|
arch: arm64
|
||||||
node_selector:
|
node_selector:
|
||||||
kubernetes.io/arch: arm64
|
kubernetes.io/arch: arm64
|
||||||
federationhq.de/compute: true
|
federationhq.de/location: Blumendorf
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: fedhq-ca-crt
|
- name: fedhq-ca-crt
|
||||||
@ -59,7 +59,7 @@ type: kubernetes
|
|||||||
name: push
|
name: push
|
||||||
node_selector:
|
node_selector:
|
||||||
kubernetes.io/arch: amd64
|
kubernetes.io/arch: amd64
|
||||||
federationhq.de/compute: true
|
federationhq.de/location: Blumendorf
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: fedhq-ca-crt
|
- name: fedhq-ca-crt
|
||||||
@ -72,11 +72,6 @@ steps:
|
|||||||
- name: push
|
- name: push
|
||||||
image: quay.io/buildah/stable
|
image: quay.io/buildah/stable
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
|
||||||
USERNAME:
|
|
||||||
from_secret: username
|
|
||||||
PASSWORD:
|
|
||||||
from_secret: password
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: fedhq-ca-crt
|
- name: fedhq-ca-crt
|
||||||
path: /etc/ssl/certs2/
|
path: /etc/ssl/certs2/
|
||||||
@ -84,26 +79,7 @@ steps:
|
|||||||
- scripts/setupEnvironment.sh
|
- 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 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 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
|
- buildah manifest rm registry.cloud.federationhq.de/netcat:latest
|
||||||
depends_on:
|
depends_on:
|
||||||
- build-amd64
|
- build-amd64
|
||||||
- build-arm64
|
- build-arm64
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: secret
|
|
||||||
name: username
|
|
||||||
get:
|
|
||||||
path: docker
|
|
||||||
name: username
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: secret
|
|
||||||
name: password
|
|
||||||
get:
|
|
||||||
path: docker
|
|
||||||
name: secret
|
|
Loading…
Reference in New Issue
Block a user