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 name: default
environment: environment:
DOCKER_REPO: glenux/service-dolibarr DOCKER_REPO: &docker_repo glenux/service-dolibarr
steps: steps:
- name: debug - name: debug
@ -29,7 +29,7 @@ steps:
password: password:
from_secret: DOCKERHUB_PASSWORD from_secret: DOCKERHUB_PASSWORD
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}" cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
repo: "$${DOCKER_REPO}" repo: *docker_repo
tags: "${DRONE_COMMIT_SHA:0:8}" tags: "${DRONE_COMMIT_SHA:0:8}"
- name: publish:commit_branch - name: publish:commit_branch
@ -43,7 +43,7 @@ steps:
password: password:
from_secret: DOCKERHUB_PASSWORD from_secret: DOCKERHUB_PASSWORD
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}" cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
repo: "$${DOCKER_REPO}" repo: *docker_repo
tags: "latest_${DRONE_BRANCH/\\//-}" tags: "latest_${DRONE_BRANCH/\\//-}"
when: when:
branch: branch:
@ -57,7 +57,7 @@ steps:
username: "${DOCKERHUB_USERNAME}" username: "${DOCKERHUB_USERNAME}"
password: "${DOCKERHUB_PASSWORD}" password: "${DOCKERHUB_PASSWORD}"
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}" cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
repo: "$${DOCKER_REPO}" repo: *docker_repo
tags: latest tags: latest
when: when:
branch: branch: