Update .woodpecker.yml

This commit is contained in:
colin 2024-02-02 11:08:33 +00:00
parent 075db01bad
commit 649668372e
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ steps:
- echo "$${REGISTRY_PASSWORD}" | docker login -u "$${REGISTRY_USER}" --password-stdin git.nixc.us
- echo compose push
- docker compose -f docker-compose.staging.yml push
- docker stack deploy --with-registry-auth -c ./stack.staging.yml $${CI_REPO_NAME}-staging
# - docker stack deploy --with-registry-auth -c ./stack.staging.yml $${CI_REPO_NAME}-staging
# # Wait for Deploy to Complete
# wait-for-deploy-staging:
@ -110,7 +110,7 @@ steps:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- echo "$${REGISTRY_PASSWORD}" | docker login -u "$${REGISTRY_USER}" --password-stdin git.nixc.us
- docker stack deploy --with-registry-auth -c ./stack.production.yml $${CI_REPO_NAME}
# - docker stack deploy --with-registry-auth -c ./stack.production.yml $${CI_REPO_NAME}
# - docker image rm git.nixc.us/colin/$${CI_REPO_NAME}:production
when:
branch: main