This commit is contained in:
parent
d7612af39a
commit
37aa013e44
|
@ -27,16 +27,6 @@ local PipelineBuildContainer(arch='amd64') = {
|
|||
arch: 'amd64',
|
||||
},
|
||||
steps: [
|
||||
{
|
||||
name: 'wait-for',
|
||||
image: 'thegeeklab/wait-for',
|
||||
commands: [
|
||||
'wait-for dind-' + arch + ':2376',
|
||||
],
|
||||
environment: {
|
||||
WAITFOR_TIMEOUT: 60,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'dryrun',
|
||||
image: 'thegeeklab/drone-docker-buildx',
|
||||
|
@ -51,7 +41,6 @@ local PipelineBuildContainer(arch='amd64') = {
|
|||
username: { from_secret: 'docker_username' },
|
||||
password: { from_secret: 'docker_password' },
|
||||
},
|
||||
depends_on: ['wait-for'],
|
||||
when: {
|
||||
ref: ['refs/pull/**'],
|
||||
},
|
||||
|
@ -65,7 +54,6 @@ local PipelineBuildContainer(arch='amd64') = {
|
|||
DOCKER_AUTOTAG_OUTPUT_FILE: '.tags',
|
||||
DOCKER_AUTOTAG_VERSION: '${DRONE_TAG}',
|
||||
},
|
||||
depends_on: ['wait-for'],
|
||||
when: {
|
||||
ref: ['refs/heads/main', 'refs/tags/**'],
|
||||
},
|
||||
|
|
35
.drone.yml
35
.drone.yml
|
@ -27,13 +27,6 @@ platform:
|
|||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: wait-for
|
||||
image: thegeeklab/wait-for
|
||||
commands:
|
||||
- wait-for dind-amd64:2376
|
||||
environment:
|
||||
WAITFOR_TIMEOUT: 60
|
||||
|
||||
- name: dryrun
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
settings:
|
||||
|
@ -50,8 +43,6 @@ steps:
|
|||
when:
|
||||
ref:
|
||||
- refs/pull/**
|
||||
depends_on:
|
||||
- wait-for
|
||||
|
||||
- name: tags
|
||||
image: thegeeklab/docker-autotag
|
||||
|
@ -64,8 +55,6 @@ steps:
|
|||
ref:
|
||||
- refs/heads/main
|
||||
- refs/tags/**
|
||||
depends_on:
|
||||
- wait-for
|
||||
|
||||
- name: publish-dockerhub
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
|
@ -102,13 +91,6 @@ platform:
|
|||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: wait-for
|
||||
image: thegeeklab/wait-for
|
||||
commands:
|
||||
- wait-for dind-arm64_v8:2376
|
||||
environment:
|
||||
WAITFOR_TIMEOUT: 60
|
||||
|
||||
- name: dryrun
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
settings:
|
||||
|
@ -125,8 +107,6 @@ steps:
|
|||
when:
|
||||
ref:
|
||||
- refs/pull/**
|
||||
depends_on:
|
||||
- wait-for
|
||||
|
||||
- name: tags
|
||||
image: thegeeklab/docker-autotag
|
||||
|
@ -139,8 +119,6 @@ steps:
|
|||
ref:
|
||||
- refs/heads/main
|
||||
- refs/tags/**
|
||||
depends_on:
|
||||
- wait-for
|
||||
|
||||
- name: publish-dockerhub
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
|
@ -177,13 +155,6 @@ platform:
|
|||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: wait-for
|
||||
image: thegeeklab/wait-for
|
||||
commands:
|
||||
- wait-for dind-arm_v7:2376
|
||||
environment:
|
||||
WAITFOR_TIMEOUT: 60
|
||||
|
||||
- name: dryrun
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
settings:
|
||||
|
@ -200,8 +171,6 @@ steps:
|
|||
when:
|
||||
ref:
|
||||
- refs/pull/**
|
||||
depends_on:
|
||||
- wait-for
|
||||
|
||||
- name: tags
|
||||
image: thegeeklab/docker-autotag
|
||||
|
@ -214,8 +183,6 @@ steps:
|
|||
ref:
|
||||
- refs/heads/main
|
||||
- refs/tags/**
|
||||
depends_on:
|
||||
- wait-for
|
||||
|
||||
- name: publish-dockerhub
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
|
@ -313,6 +280,6 @@ depends_on:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 61b410d53ce5e55b850c334cafe82057b69f9664e2cfba6b12f008d6d1c82702
|
||||
hmac: b3847f881aee6bfdc43ce522705080fb78dd9c0a39e5ec5d3f79a98a9fdd6dd1
|
||||
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue
Block a user