fix: pipeline
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user