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