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
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
environment:
|
|
||||||
DOCKER_REPO: glenux/service-dolibarr
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: debug
|
- name: debug
|
||||||
image: alpine
|
image: alpine
|
||||||
|
environment:
|
||||||
|
DOCKER_REPO: glenux/service-dolibarr
|
||||||
commands:
|
commands:
|
||||||
- 'echo "Repository: $${DOCKER_REPO}"'
|
- 'echo "Repository: $${DOCKER_REPO}"'
|
||||||
- 'echo "Git commit: ${DRONE_COMMIT_SHA:0:8}"'
|
- 'echo "Git commit: ${DRONE_COMMIT_SHA:0:8}"'
|
||||||
|
@ -19,12 +19,14 @@ steps:
|
||||||
# volumes:
|
# volumes:
|
||||||
# - name: cache
|
# - name: cache
|
||||||
# path: /stupid
|
# path: /stupid
|
||||||
|
environment:
|
||||||
|
DOCKER_REPO: glenux/service-dolibarr
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
from_secret: DOCKERHUB_USERNAME
|
from_secret: DOCKERHUB_USERNAME
|
||||||
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}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue