ci: use quotes for strings
This commit is contained in:
parent
4623d8b7e9
commit
c2248fd2d1
1 changed files with 8 additions and 8 deletions
16
.drone.yml
16
.drone.yml
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue