refactor: use buildx for multiarch container builds #104

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

View File

@ -49,6 +49,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/**
@ -94,6 +95,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
@ -111,6 +113,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
@ -153,7 +156,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:
@ -168,7 +170,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:
@ -209,6 +210,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: c20847f70ffec53699da2dd1267c7f95bd710d5677eeb0cc930bf41b08394c6a hmac: 1896c9f0cd121a2f8be3dca477d292bd93bd79ea0e01f987f38f026d27189a84
... ...