This commit is contained in:
parent
19536cd39e
commit
793d9c314a
10
.drone.yml
10
.drone.yml
@ -30,7 +30,7 @@ steps:
|
|||||||
- name: wait-for
|
- name: wait-for
|
||||||
image: thegeeklab/wait-for
|
image: thegeeklab/wait-for
|
||||||
commands:
|
commands:
|
||||||
- wait-for dind:2375
|
- wait-for dind:2376
|
||||||
environment:
|
environment:
|
||||||
WAITFOR_TIMEOUT: 60
|
WAITFOR_TIMEOUT: 60
|
||||||
|
|
||||||
@ -43,10 +43,12 @@ steps:
|
|||||||
- docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag thegeeklab/${DRONE_REPO_NAME}:latest .
|
- docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag thegeeklab/${DRONE_REPO_NAME}:latest .
|
||||||
environment:
|
environment:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
DOCKER_HOST: tcp://dind:2375/
|
DOCKER_HOST: tcp://dind:2376/
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/pull/**
|
- refs/pull/**
|
||||||
|
depends_on:
|
||||||
|
- wait-for
|
||||||
|
|
||||||
- name: tags
|
- name: tags
|
||||||
image: thegeeklab/docker-autotag
|
image: thegeeklab/docker-autotag
|
||||||
@ -59,6 +61,8 @@ steps:
|
|||||||
ref:
|
ref:
|
||||||
- refs/heads/main
|
- refs/heads/main
|
||||||
- refs/tags/**
|
- refs/tags/**
|
||||||
|
depends_on:
|
||||||
|
- wait-for
|
||||||
|
|
||||||
- name: publish-dockerhub
|
- name: publish-dockerhub
|
||||||
image: plugins/docker:19
|
image: plugins/docker:19
|
||||||
@ -191,6 +195,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: a6d185d7e8e26e2f9d3c04d0fdab26a209fa6784ce6f70373936e4ca3b72c2f0
|
hmac: d9fac54830b42defff2474a26cd2f447a11fef84d9fa2626a50fed49c6baf4b8
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user