ci: fix image name
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Glenn Y. Rolland 2023-01-16 12:00:40 +01:00
parent 262ed88922
commit 19e166d879

View file

@ -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: