refactor: use buildx for multiarch container builds
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Robert Kaussow 2023-01-15 17:00:12 +01:00
parent 29e02abad2
commit 8d6a354b9e
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -33,6 +33,7 @@ steps:
dockerfile: Dockerfile dockerfile: Dockerfile
dry_run: true dry_run: true
repo: thegeeklab/${DRONE_REPO_NAME} repo: thegeeklab/${DRONE_REPO_NAME}
provenance: false
when: when:
ref: ref:
- refs/pull/** - refs/pull/**
@ -76,6 +77,7 @@ steps:
repo: thegeeklab/${DRONE_REPO_NAME} repo: thegeeklab/${DRONE_REPO_NAME}
username: username:
from_secret: docker_username from_secret: docker_username
provenance: false
when: when:
ref: ref:
- refs/heads/main - refs/heads/main
@ -93,6 +95,7 @@ steps:
repo: quay.io/thegeeklab/${DRONE_REPO_NAME} repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
username: username:
from_secret: quay_username from_secret: quay_username
provenance: false
when: when:
ref: ref:
- refs/heads/main - refs/heads/main
@ -135,7 +138,6 @@ platform:
steps: steps:
- name: pushrm-dockerhub - name: pushrm-dockerhub
pull: always
image: chko/docker-pushrm:1 image: chko/docker-pushrm:1
environment: environment:
DOCKER_PASS: DOCKER_PASS:
@ -150,7 +152,6 @@ steps:
- success - success
- name: pushrm-quay - name: pushrm-quay
pull: always
image: chko/docker-pushrm:1 image: chko/docker-pushrm:1
environment: environment:
APIKEY__QUAY_IO: APIKEY__QUAY_IO:
@ -191,6 +192,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 7a497e0ef1d1e2a1a92c18967eaa22e3f9733f66d2a7b24c63568c2a7be344e1 hmac: becfc63ea66e2f00b9211466109d63a1e1275f7fc332a4176aeb668638dc0b14
... ...