ci: Add debugush
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Glenn Y. Rolland 2023-01-16 01:53:09 +01:00
parent 97b8c096fc
commit dcaa4e1a9c

View file

@ -3,12 +3,12 @@ kind: pipeline
type: docker
name: default
environment:
DOCKER_REPO: glenux/service-dolibarr
steps:
- name: debug
image: alpine
environment:
DOCKER_REPO: glenux/service-dolibarr
commands:
- 'echo "Repository: $${DOCKER_REPO}"'
- 'echo "Git commit: ${DRONE_COMMIT_SHA:0:8}"'
@ -19,12 +19,14 @@ steps:
# volumes:
# - name: cache
# path: /stupid
environment:
DOCKER_REPO: glenux/service-dolibarr
settings:
username:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_PASSWORD
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
cache_from: "${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
repo: "${DOCKER_REPO}"
tags: "${DRONE_COMMIT_SHA:0:8}"