ci: play with yaml references
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Glenn Y. Rolland 2023-01-16 02:11:50 +01:00
parent 19062e486c
commit f10eb465b2

View file

@ -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: