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:11 +01:00
parent 8c95a55542
commit 9b28525152
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: 5b86f7686fa6b01ec6cf143087e1328b3fd45a774d704647c55ef5ff482c781a hmac: be84fa5f05881cf3972a0a5405c919edac6e069175e554077727136e141d57d2
... ...