From 790b9a554ce4be6716984d67a3f44241feb0ea40 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 15 Jan 2023 17:07:40 +0100 Subject: [PATCH] refactor: use buildx for multiarch container builds (#85) --- .drone.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 28166eb..8ae78c9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ...