fix: use the right 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:01:10 +01:00
parent a25dfcacbe
commit 1c5ab045cc

View file

@ -9,7 +9,7 @@ steps:
environment:
commands:
- 'echo "Repository: glenux/service-monica"'
- 'echo "Repository: glenux/service-gotosocial"'
- 'echo "Git commit: ${DRONE_COMMIT_SHA:0:8}"'
- name: publish:commit_sha
@ -19,14 +19,14 @@ steps:
# - name: cache
# path: /stupid
environment:
DOCKER_REPO: glenux/service-monica
DOCKER_REPO: glenux/service-gotosocial
settings:
username:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_PASSWORD
cache_from: "glenux/service-monica:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-monica
cache_from: "glenux/service-gotosocial:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-gotosocial
tags: "${DRONE_COMMIT_SHA:0:8}"
purge: false
@ -40,8 +40,8 @@ steps:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_PASSWORD
cache_from: "glenux/service-monica:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-monica
cache_from: "glenux/service-gotosocial:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-gotosocial
tags: "latest_${DRONE_BRANCH/\\//-}"
purge: false
when:
@ -57,8 +57,8 @@ steps:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_PASSWORD
cache_from: "glenux/service-monica:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-monica
cache_from: "glenux/service-gotosocial:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-gotosocial
tags: latest
purge: false
when: