ci: escape registry vars inside remote deploy heredoc
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/push Build encountered an error
Same $$ fix as tracker for docker login on the Pi.
This commit is contained in:
1 parent
8e636bf745
commit
083a1d5619
1 file changed
+2
-2
+2
-2
@@ -176,8 +176,8 @@ steps:
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
cd /opt/iled-shop
|
cd /opt/iled-shop
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git checkout "${DRONE_COMMIT_SHA}"
|
git checkout "$${DRONE_COMMIT_SHA}"
|
||||||
echo "${REGISTRY_PASSWORD}" | docker login registry.zea.lt -u "${REGISTRY_USERNAME}" --password-stdin
|
echo "$${REGISTRY_PASSWORD}" | docker login registry.zea.lt -u "$${REGISTRY_USERNAME}" --password-stdin
|
||||||
cd docker
|
cd docker
|
||||||
docker compose pull
|
docker compose pull
|
||||||
docker compose up -d --remove-orphans
|
docker compose up -d --remove-orphans
|
||||||
|
|||||||
Reference in new issue
Block a user