ci: play with yaml references
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
19062e486c
commit
f10eb465b2
1 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ type: docker
|
|||
name: default
|
||||
|
||||
environment:
|
||||
DOCKER_REPO: glenux/service-dolibarr
|
||||
DOCKER_REPO: &docker_repo glenux/service-dolibarr
|
||||
|
||||
steps:
|
||||
- name: debug
|
||||
|
@ -29,7 +29,7 @@ steps:
|
|||
password:
|
||||
from_secret: DOCKERHUB_PASSWORD
|
||||
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
|
||||
repo: "$${DOCKER_REPO}"
|
||||
repo: *docker_repo
|
||||
tags: "${DRONE_COMMIT_SHA:0:8}"
|
||||
|
||||
- name: publish:commit_branch
|
||||
|
@ -43,7 +43,7 @@ steps:
|
|||
password:
|
||||
from_secret: DOCKERHUB_PASSWORD
|
||||
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
|
||||
repo: "$${DOCKER_REPO}"
|
||||
repo: *docker_repo
|
||||
tags: "latest_${DRONE_BRANCH/\\//-}"
|
||||
when:
|
||||
branch:
|
||||
|
@ -57,7 +57,7 @@ steps:
|
|||
username: "${DOCKERHUB_USERNAME}"
|
||||
password: "${DOCKERHUB_PASSWORD}"
|
||||
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
|
||||
repo: "$${DOCKER_REPO}"
|
||||
repo: *docker_repo
|
||||
tags: latest
|
||||
when:
|
||||
branch:
|
||||
|
|
Loading…
Reference in a new issue