refactor: use buildx for multiarch container builds (#116)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f400c89da9
commit
0b7ae40f84
13
.drone.yml
13
.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
|
||||
@ -141,7 +138,6 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: pushrm-dockerhub
|
||||
pull: always
|
||||
image: chko/docker-pushrm:1
|
||||
environment:
|
||||
DOCKER_PASS:
|
||||
@ -156,7 +152,6 @@ steps:
|
||||
- success
|
||||
|
||||
- name: pushrm-quay
|
||||
pull: always
|
||||
image: chko/docker-pushrm:1
|
||||
environment:
|
||||
APIKEY__QUAY_IO:
|
||||
@ -197,6 +192,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 5e5b987792993e73319895c39faae1f736fbcfc7f80764f623b3b93c02ec7f15
|
||||
hmac: 393821e55649eb21c1c721e5a21705d7b7e5b0210e534ebcefeb52e81a74e7d8
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user