refactor: use buildx for multiarch container builds (#85)
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2023-01-15 17:07:40 +01:00
parent deaa9a3a30
commit 790b9a554c
1 changed files with 4 additions and 7 deletions

View File

@ -30,11 +30,10 @@ steps:
- name: dryrun
image: thegeeklab/drone-docker-buildx:20
settings:
build_args:
- BUILD_VERSION=${DRONE_TAG%-*}
dockerfile: Dockerfile
dry_run: true
repo: thegeeklab/${DRONE_REPO_NAME}
provenance: false
when:
ref:
- refs/pull/**
@ -72,14 +71,13 @@ steps:
- name: publish-dockerhub
image: thegeeklab/drone-docker-buildx:20
settings:
build_args:
- BUILD_VERSION=${DRONE_TAG%-*}
dockerfile: Dockerfile
password:
from_secret: docker_password
repo: thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: docker_username
provenance: false
when:
ref:
- refs/heads/main
@ -90,8 +88,6 @@ steps:
- name: publish-quay
image: thegeeklab/drone-docker-buildx:20
settings:
build_args:
- BUILD_VERSION=${DRONE_TAG%-*}
dockerfile: Dockerfile
password:
from_secret: quay_password
@ -99,6 +95,7 @@ steps:
repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: quay_username
provenance: false
when:
ref:
- refs/heads/main
@ -197,6 +194,6 @@ depends_on:
---
kind: signature
hmac: 07c057dfd06b861ee2213ff0f86e517c52aea018985cd84d90c69c7d21483116
hmac: bf2f69c79f19548c4a6ca12a9fa957eca2d197bd8a3853822f7b481d0d5308f7
...