This commit is contained in:
root 2023-11-03 23:08:48 +00:00
parent 12a6d7a827
commit 8f94aed2ee
1 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@ steps:
name: build-push
when:
- path:
include: [ 'docker-compose.yml', 'Dockerfile' ]
include: [ 'docker-compose.yml', 'Dockerfile', '.woodpecker.yml' ]
image: woodpeckerci/plugin-docker-buildx
secrets: [REGISTRY_USER, REGISTRY_PASSWORD]
volumes:
@ -37,3 +37,4 @@ steps:
commands:
- echo "$${REGISTRY_PASSWORD}" | docker login -u "$${REGISTRY_USER}" --password-stdin git.nixc.us
- docker stack deploy --with-registry-auth -c ./$${CI_REPO_NAME}.yml $${CI_REPO_NAME}
# buildforce