This commit is contained in:
parent
97b8c096fc
commit
dcaa4e1a9c
1 changed files with 5 additions and 3 deletions
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue