refactor: use buildx for multiarch container builds
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
deaa9a3a30
commit
bc50c8b173
11
.drone.yml
11
.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
|
||||
|
||||
...
|
||||
|
Reference in New Issue
Block a user