ci: use quotes for strings

This commit is contained in:
Glenn Y. Rolland 2023-01-15 23:49:45 +01:00
parent 4623d8b7e9
commit c2248fd2d1

View file

@ -13,18 +13,18 @@ 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}
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}
tags: "latest_${DRONE_BRANCH}"
when:
branch:
- master
@ -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: