This commit is contained in:
parent
e47f9c1e82
commit
56ff8e2a0c
1 changed files with 6 additions and 6 deletions
12
.drone.yml
12
.drone.yml
|
@ -18,8 +18,8 @@ steps:
|
|||
from_secret: DOCKERHUB_USERNAME
|
||||
password:
|
||||
from_secret: DOCKERHUB_PASSWORD
|
||||
cache_from: "${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
|
||||
repo: "${DOCKER_REPO}"
|
||||
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
|
||||
repo: "$${DOCKER_REPO}"
|
||||
tags: "${DRONE_COMMIT_SHA:0:8}"
|
||||
|
||||
- name: publish:commit_branch
|
||||
|
@ -32,8 +32,8 @@ steps:
|
|||
from_secret: DOCKERHUB_USERNAME
|
||||
password:
|
||||
from_secret: DOCKERHUB_PASSWORD
|
||||
cache_from: "${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
|
||||
repo: "${DOCKER_REPO}"
|
||||
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
|
||||
repo: "$${DOCKER_REPO}"
|
||||
tags: "latest_${DRONE_BRANCH/\\//-}"
|
||||
when:
|
||||
branch:
|
||||
|
@ -46,8 +46,8 @@ steps:
|
|||
settings:
|
||||
username: "${DOCKERHUB_USERNAME}"
|
||||
password: "${DOCKERHUB_PASSWORD}"
|
||||
cache_from: "${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
|
||||
repo: "${DOCKER_REPO}"
|
||||
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
|
||||
repo: "$${DOCKER_REPO}"
|
||||
tags: latest
|
||||
when:
|
||||
branch:
|
||||
|
|
Loading…
Reference in a new issue