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:
|
environment:
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
- 'echo "Repository: glenux/service-monica"'
|
- 'echo "Repository: glenux/docmachine"'
|
||||||
- 'echo "Git commit: ${DRONE_COMMIT_SHA:0:8}"'
|
- 'echo "Git commit: ${DRONE_COMMIT_SHA:0:8}"'
|
||||||
|
|
||||||
- name: publish:commit_sha
|
- name: publish:commit_sha
|
||||||
|
@ -19,16 +19,16 @@ steps:
|
||||||
# - name: cache
|
# - name: cache
|
||||||
# path: /stupid
|
# path: /stupid
|
||||||
environment:
|
environment:
|
||||||
DOCKER_REPO: glenux/service-monica
|
DOCKER_REPO: glenux/docmachine
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
from_secret: DOCKERHUB_USERNAME
|
from_secret: DOCKERHUB_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
from_secret: DOCKERHUB_PASSWORD
|
||||||
cache_from: "glenux/service-monica:latest_${DRONE_BRANCH/\\//-}"
|
cache_from: "glenux/docmachine:latest_${DRONE_BRANCH/\\//-}"
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
repo: glenux/service-monica
|
repo: glenux/docmachine
|
||||||
tags: "${DRONE_COMMIT_SHA:0:8}"
|
tags: "${DRONE_COMMIT_SHA:0:8}"
|
||||||
purge: false
|
purge: false
|
||||||
|
|
||||||
|
@ -42,10 +42,10 @@ steps:
|
||||||
from_secret: DOCKERHUB_USERNAME
|
from_secret: DOCKERHUB_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
from_secret: DOCKERHUB_PASSWORD
|
||||||
cache_from: "glenux/service-monica:latest_${DRONE_BRANCH/\\//-}"
|
cache_from: "glenux/docmachine:latest_${DRONE_BRANCH/\\//-}"
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
repo: glenux/service-monica
|
repo: glenux/docmachine
|
||||||
tags: "latest_${DRONE_BRANCH/\\//-}"
|
tags: "latest_${DRONE_BRANCH/\\//-}"
|
||||||
purge: false
|
purge: false
|
||||||
when:
|
when:
|
||||||
|
@ -61,10 +61,10 @@ steps:
|
||||||
from_secret: DOCKERHUB_USERNAME
|
from_secret: DOCKERHUB_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
from_secret: DOCKERHUB_PASSWORD
|
||||||
cache_from: "glenux/service-monica:latest_${DRONE_BRANCH/\\//-}"
|
cache_from: "glenux/docmachine:latest_${DRONE_BRANCH/\\//-}"
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
repo: glenux/service-monica
|
repo: glenux/docmachine
|
||||||
tags: latest
|
tags: latest
|
||||||
purge: false
|
purge: false
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue