Update .woodpecker.yml

This commit is contained in:
colin 2024-01-19 16:26:11 +00:00
parent ce3c498ade
commit 393d10a9f0
1 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ steps:
- echo "$${REGISTRY_PASSWORD}" | docker login -u "$${REGISTRY_USER}" --password-stdin git.nixc.us - echo "$${REGISTRY_PASSWORD}" | docker login -u "$${REGISTRY_USER}" --password-stdin git.nixc.us
- echo compose push - echo compose push
- docker compose -f docker-compose.staging.yml 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 to Complete
# wait-for-deploy-staging: # wait-for-deploy-staging:
@ -110,8 +110,8 @@ steps:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
commands: commands:
- echo "$${REGISTRY_PASSWORD}" | docker login -u "$${REGISTRY_USER}" --password-stdin git.nixc.us - 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 # - docker image rm git.nixc.us/colin/$${CI_REPO_NAME}:production
when: when:
branch: main branch: main
event: [push, cron] event: [push, cron]