1
0
Fork 0

Update .woodpecker.yml

This commit is contained in:
colin 2023-11-21 19:06:34 +00:00
parent aea8f34af2
commit 76da77346e
1 changed files with 9 additions and 1 deletions

View File

@ -36,4 +36,12 @@ 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.yml lan-to-nginx
- docker stack deploy --with-registry-auth -c ./stack.yml lan-to-nginx
run-post-deploy-smoke-tests:
name: run-post-deploy-smoke-tests
image: git.nixc.us/colin/playwright:latest
secrets: [REGISTRY_USER, REGISTRY_PASSWORD]
when:
- branch: main
- path:
include: [ 'stack.yml', 'docker-compose.yml', 'Dockerfile.*', '.woodpecker.yml', '*.tests.ts' ]