ci: Fix container name in .drone.yml

This commit is contained in:
Glenn Y. Rolland 2023-01-24 14:07:37 +01:00
parent 9f0d69821b
commit 99a4705bbe

View file

@ -9,7 +9,7 @@ steps:
environment:
commands:
- 'echo "Repository: glenux/service-n8n"'
- 'echo "Repository: glenux/service-semaphore"'
- '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-n8n
DOCKER_REPO: glenux/service-semaphore
settings:
username:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_PASSWORD
cache_from: "glenux/service-n8n:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-n8n
cache_from: "glenux/service-semaphore:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-semaphore
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-n8n:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-n8n
cache_from: "glenux/service-semaphore:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-semaphore
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-n8n:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-n8n
cache_from: "glenux/service-semaphore:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-semaphore
tags: latest
purge: false
when:
@ -80,5 +80,5 @@ steps:
environment:
commands:
- 'echo "Repository: glenux/service-n8n"'
- 'echo "Repository: glenux/service-semaphore"'
- 'echo "Git commit: ${DRONE_COMMIT_SHA:0:8}"'