This commit is contained in:
parent
262ed88922
commit
19e166d879
1 changed files with 8 additions and 8 deletions
16
.drone.yml
16
.drone.yml
|
@ -9,7 +9,7 @@ steps:
|
|||
environment:
|
||||
|
||||
commands:
|
||||
- 'echo "Repository: glenux/service-monica"'
|
||||
- 'echo "Repository: glenux/docmachine"'
|
||||
- 'echo "Git commit: ${DRONE_COMMIT_SHA:0:8}"'
|
||||
|
||||
- name: publish:commit_sha
|
||||
|
@ -19,16 +19,16 @@ steps:
|
|||
# - name: cache
|
||||
# path: /stupid
|
||||
environment:
|
||||
DOCKER_REPO: glenux/service-monica
|
||||
DOCKER_REPO: glenux/docmachine
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKERHUB_USERNAME
|
||||
password:
|
||||
from_secret: DOCKERHUB_PASSWORD
|
||||
cache_from: "glenux/service-monica:latest_${DRONE_BRANCH/\\//-}"
|
||||
cache_from: "glenux/docmachine:latest_${DRONE_BRANCH/\\//-}"
|
||||
context: .
|
||||
dockerfile: docker/Dockerfile
|
||||
repo: glenux/service-monica
|
||||
repo: glenux/docmachine
|
||||
tags: "${DRONE_COMMIT_SHA:0:8}"
|
||||
purge: false
|
||||
|
||||
|
@ -42,10 +42,10 @@ steps:
|
|||
from_secret: DOCKERHUB_USERNAME
|
||||
password:
|
||||
from_secret: DOCKERHUB_PASSWORD
|
||||
cache_from: "glenux/service-monica:latest_${DRONE_BRANCH/\\//-}"
|
||||
cache_from: "glenux/docmachine:latest_${DRONE_BRANCH/\\//-}"
|
||||
context: .
|
||||
dockerfile: docker/Dockerfile
|
||||
repo: glenux/service-monica
|
||||
repo: glenux/docmachine
|
||||
tags: "latest_${DRONE_BRANCH/\\//-}"
|
||||
purge: false
|
||||
when:
|
||||
|
@ -61,10 +61,10 @@ steps:
|
|||
from_secret: DOCKERHUB_USERNAME
|
||||
password:
|
||||
from_secret: DOCKERHUB_PASSWORD
|
||||
cache_from: "glenux/service-monica:latest_${DRONE_BRANCH/\\//-}"
|
||||
cache_from: "glenux/docmachine:latest_${DRONE_BRANCH/\\//-}"
|
||||
context: .
|
||||
dockerfile: docker/Dockerfile
|
||||
repo: glenux/service-monica
|
||||
repo: glenux/docmachine
|
||||
tags: latest
|
||||
purge: false
|
||||
when:
|
||||
|
|
Loading…
Reference in a new issue