fix: pipeline

This commit is contained in:
2023-03-11 20:18:55 +01:00
parent 16de631b80
commit cf96ed15a9

View File

@@ -1,7 +1,9 @@
---
pipeline:
check_self:
image: alpine
secrets: [ DOCKERHUB_TOKEN ]
secrets:
- DOCKERHUB_TOKEN
environment:
DOCKER_USERNAME: vistanarvas
DOCKER_PASSWORD: ${DOCKERHUB_TOKEN}
@@ -10,7 +12,6 @@ pipeline:
commands:
- bash check.sh
failure: ignore
build_and_publish:
image: woodpeckerci/plugin-docker-buildx
settings:
@@ -21,5 +22,10 @@ pipeline:
auto_tag: true
when:
path:
include: [ '.woodpecker/build.yml', 'check.sh' ]
event: [push, tag, deployment]
include:
- .woodpecker/build.yml
- check.sh
event:
- push
- tag
- deployment