fix: pipeline
This commit is contained in:
@@ -1,25 +1,31 @@
|
|||||||
|
---
|
||||||
pipeline:
|
pipeline:
|
||||||
check_self:
|
check_self:
|
||||||
image: alpine
|
image: alpine
|
||||||
secrets: [ DOCKERHUB_TOKEN ]
|
secrets:
|
||||||
environment:
|
- DOCKERHUB_TOKEN
|
||||||
DOCKER_USERNAME: vistanarvas
|
environment:
|
||||||
DOCKER_PASSWORD: ${DOCKERHUB_TOKEN}
|
DOCKER_USERNAME: vistanarvas
|
||||||
BASE: alpine:latest
|
DOCKER_PASSWORD: ${DOCKERHUB_TOKEN}
|
||||||
TARGET: vistanarvas/${CI_REPO_NAME}:latest
|
BASE: alpine:latest
|
||||||
commands:
|
TARGET: vistanarvas/${CI_REPO_NAME}:latest
|
||||||
- bash check.sh
|
commands:
|
||||||
failure: ignore
|
- bash check.sh
|
||||||
|
failure: ignore
|
||||||
build_and_publish:
|
build_and_publish:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
username: vistanarvas
|
username: vistanarvas
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKERHUB_TOKEN
|
from_secret: DOCKERHUB_TOKEN
|
||||||
repo: vistanarvas/${CI_REPO_NAME}
|
repo: vistanarvas/${CI_REPO_NAME}
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
when:
|
when:
|
||||||
path:
|
path:
|
||||||
include: [ '.woodpecker/build.yml', 'check.sh' ]
|
include:
|
||||||
event: [push, tag, deployment]
|
- .woodpecker/build.yml
|
||||||
|
- check.sh
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
- tag
|
||||||
|
- deployment
|
||||||
Reference in New Issue
Block a user