refactor: use buildx for multiarch container builds #104

Merged
xoxys merged 1 commits from refactor-multiarch into main 2023-01-15 16:08:11 +00:00

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: 0c57ba1ef7ccc0642fd0811c068c3d7fd15e299c54fafcffb750dfac47323e50 hmac: ac9db69469f23d128ede158c44d8878cf42127e2a4171cf861f4bc6fcbd30080
... ...