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