ci: use quotes for strings

This commit is contained in:
Glenn Y. Rolland 2023-01-15 23:52:05 +01:00
parent c2248fd2d1
commit 355a95b864

View file

@ -13,16 +13,16 @@ steps:
- name: docker
image: plugins/docker
settings:
username: "${DOCKERHUB_USERNAME}"
password: "${DOCKERHUB_PASSWORD}"
username: "$${DOCKERHUB_USERNAME}"
password: "$${DOCKERHUB_PASSWORD}"
repo: glenux/service-ntfy
tags: "${DRONE_BRANCH//\//-}-${DRONE_COMMIT_SHA:0:8}"
- name: docker
image: plugins/docker
settings:
username: "${DOCKERHUB_USERNAME}"
password: "${DOCKERHUB_PASSWORD}"
username: "$${DOCKERHUB_USERNAME}"
password: "$${DOCKERHUB_PASSWORD}"
repo: glenux/service-ntfy
tags: "latest_${DRONE_BRANCH}"
when:
@ -34,8 +34,8 @@ steps:
- name: docker
image: plugins/docker
settings:
username: "${DOCKERHUB_USERNAME}"
password: "${DOCKERHUB_PASSWORD}"
username: "$${DOCKERHUB_USERNAME}"
password: "$${DOCKERHUB_PASSWORD}"
repo: glenux/service-ntfy
tags: latest
when: