mirror of
https://github.com/thegeeklab/drone-admin.git
synced 2024-11-15 04:00:40 +00:00
ci: switch to buildx plugin (#30)
This commit is contained in:
parent
3f7ee7aaef
commit
b0a6157282
@ -141,7 +141,7 @@ local PipelineBuildContainer(arch='amd64') = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'dryrun',
|
name: 'dryrun',
|
||||||
image: 'thegeeklab/drone-docker:19',
|
image: 'thegeeklab/drone-docker-buildx:20',
|
||||||
settings: {
|
settings: {
|
||||||
dry_run: true,
|
dry_run: true,
|
||||||
dockerfile: 'docker/Dockerfile.' + arch,
|
dockerfile: 'docker/Dockerfile.' + arch,
|
||||||
@ -154,7 +154,7 @@ local PipelineBuildContainer(arch='amd64') = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'publish-dockerhub',
|
name: 'publish-dockerhub',
|
||||||
image: 'thegeeklab/drone-docker:19',
|
image: 'thegeeklab/drone-docker-buildx:20',
|
||||||
settings: {
|
settings: {
|
||||||
auto_tag: true,
|
auto_tag: true,
|
||||||
auto_tag_suffix: arch,
|
auto_tag_suffix: arch,
|
||||||
@ -170,7 +170,7 @@ local PipelineBuildContainer(arch='amd64') = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'publish-quay',
|
name: 'publish-quay',
|
||||||
image: 'thegeeklab/drone-docker:19',
|
image: 'thegeeklab/drone-docker-buildx:20',
|
||||||
settings: {
|
settings: {
|
||||||
auto_tag: true,
|
auto_tag: true,
|
||||||
auto_tag_suffix: arch,
|
auto_tag_suffix: arch,
|
||||||
|
14
.drone.yml
14
.drone.yml
@ -111,7 +111,7 @@ steps:
|
|||||||
- make build
|
- make build
|
||||||
|
|
||||||
- name: dryrun
|
- name: dryrun
|
||||||
image: thegeeklab/drone-docker:19
|
image: thegeeklab/drone-docker-buildx:20
|
||||||
settings:
|
settings:
|
||||||
dockerfile: docker/Dockerfile.amd64
|
dockerfile: docker/Dockerfile.amd64
|
||||||
dry_run: true
|
dry_run: true
|
||||||
@ -123,7 +123,7 @@ steps:
|
|||||||
- build
|
- build
|
||||||
|
|
||||||
- name: publish-dockerhub
|
- name: publish-dockerhub
|
||||||
image: thegeeklab/drone-docker:19
|
image: thegeeklab/drone-docker-buildx:20
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: amd64
|
auto_tag_suffix: amd64
|
||||||
@ -141,7 +141,7 @@ steps:
|
|||||||
- dryrun
|
- dryrun
|
||||||
|
|
||||||
- name: publish-quay
|
- name: publish-quay
|
||||||
image: thegeeklab/drone-docker:19
|
image: thegeeklab/drone-docker-buildx:20
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: amd64
|
auto_tag_suffix: amd64
|
||||||
@ -183,7 +183,7 @@ steps:
|
|||||||
- make build
|
- make build
|
||||||
|
|
||||||
- name: dryrun
|
- name: dryrun
|
||||||
image: thegeeklab/drone-docker:19
|
image: thegeeklab/drone-docker-buildx:20
|
||||||
settings:
|
settings:
|
||||||
dockerfile: docker/Dockerfile.arm64
|
dockerfile: docker/Dockerfile.arm64
|
||||||
dry_run: true
|
dry_run: true
|
||||||
@ -195,7 +195,7 @@ steps:
|
|||||||
- build
|
- build
|
||||||
|
|
||||||
- name: publish-dockerhub
|
- name: publish-dockerhub
|
||||||
image: thegeeklab/drone-docker:19
|
image: thegeeklab/drone-docker-buildx:20
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: arm64
|
auto_tag_suffix: arm64
|
||||||
@ -213,7 +213,7 @@ steps:
|
|||||||
- dryrun
|
- dryrun
|
||||||
|
|
||||||
- name: publish-quay
|
- name: publish-quay
|
||||||
image: thegeeklab/drone-docker:19
|
image: thegeeklab/drone-docker-buildx:20
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: arm64
|
auto_tag_suffix: arm64
|
||||||
@ -381,6 +381,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 5f6b51d49e448624f6280b09b9d4d8f25c829474b264a3d962c97899a539e176
|
hmac: 5917d97d7142ecdc72c3f4f5fe37ade695f05e90cf162c6c017eaa7767bf1e31
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user