This commit is contained in:
parent
b4547a3aeb
commit
d5cd99a595
1 changed files with 5 additions and 5 deletions
10
.drone.yml
10
.drone.yml
|
@ -23,9 +23,9 @@ steps:
|
||||||
from_secret: DOCKERHUB_USERNAME
|
from_secret: DOCKERHUB_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
from_secret: DOCKERHUB_PASSWORD
|
||||||
cache_from: "glenux/service-drone-runner:latest_${DRONE_BRANCH/\\//-}"
|
cache_from: "glenux/service-drone-runner:${DRONE_BRANCH/\\//-}_latest"
|
||||||
repo: glenux/service-drone-runner
|
repo: glenux/service-drone-runner
|
||||||
tags: "${DRONE_COMMIT_SHA:0:8}"
|
tags: "${DRONE_BRANCH/\\//-}_${DRONE_COMMIT_SHA:0:8}"
|
||||||
purge: false
|
purge: false
|
||||||
|
|
||||||
- name: publish:commit_branch
|
- name: publish:commit_branch
|
||||||
|
@ -38,9 +38,9 @@ steps:
|
||||||
from_secret: DOCKERHUB_USERNAME
|
from_secret: DOCKERHUB_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
from_secret: DOCKERHUB_PASSWORD
|
||||||
cache_from: "glenux/service-drone-runner:latest_${DRONE_BRANCH/\\//-}"
|
cache_from: "glenux/service-drone-runner:${DRONE_BRANCH/\\//-}_latest"
|
||||||
repo: glenux/service-drone-runner
|
repo: glenux/service-drone-runner
|
||||||
tags: "latest_${DRONE_BRANCH/\\//-}"
|
tags: "${DRONE_BRANCH/\\//-}_latest"
|
||||||
purge: false
|
purge: false
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
@ -55,7 +55,7 @@ steps:
|
||||||
from_secret: DOCKERHUB_USERNAME
|
from_secret: DOCKERHUB_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
from_secret: DOCKERHUB_PASSWORD
|
||||||
cache_from: "glenux/service-drone-runner:latest_${DRONE_BRANCH/\\//-}"
|
cache_from: "glenux/service-drone-runner:${DRONE_BRANCH/\\//-}_latest"
|
||||||
repo: glenux/service-drone-runner
|
repo: glenux/service-drone-runner
|
||||||
tags: latest
|
tags: latest
|
||||||
purge: false
|
purge: false
|
||||||
|
|
Loading…
Reference in a new issue