diff --git a/.woodpecker.yml b/.woodpecker.yml index 2e0d57d..dce9d21 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -7,7 +7,7 @@ steps: - event: push commands: - docker build . -t git.keannu1.duckdns.org/keannu125/drf_template - - echo "$REGISTRY_PASSWORD" | docker login git.keannu1.duckdns.org --username "$REGISTRY_USERNAME" --password-stdin + - echo "${REGISTRY_PASSWORD:?}" | docker login --password-stdin -u "${REGISTRY_USERNAME:?}" -- "${CI_REGISTRY:?}" - docker push git.keannu1.duckdns.org/keannu125/drf_template volumes: - /var/run/docker.sock:/var/run/docker.sock