add dev build
This commit is contained in:
@@ -12,9 +12,6 @@ steps:
|
|||||||
repo: vistanarvas/${CI_REPO_NAME}
|
repo: vistanarvas/${CI_REPO_NAME}
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
when:
|
when:
|
||||||
path:
|
|
||||||
include: [ '.woodpecker/build.yml', 'build/*', 'Dockerfile' ]
|
|
||||||
cron: nightly
|
|
||||||
event: release
|
event: release
|
||||||
|
|
||||||
cron_build_and_publish:
|
cron_build_and_publish:
|
||||||
@@ -30,4 +27,19 @@ steps:
|
|||||||
path:
|
path:
|
||||||
include: [ '.woodpecker/build.yml', 'build/*', 'Dockerfile' ]
|
include: [ '.woodpecker/build.yml', 'build/*', 'Dockerfile' ]
|
||||||
cron: nightly
|
cron: nightly
|
||||||
event: [cron, manual]
|
event: [cron]
|
||||||
|
|
||||||
|
dev_build_and_publish:
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
username: vistanarvas
|
||||||
|
password:
|
||||||
|
from_secret: DOCKERHUB_TOKEN
|
||||||
|
context: ./build
|
||||||
|
repo: vistanarvas/${CI_REPO_NAME}
|
||||||
|
tag: dev.${CI_COMMIT_AUTHOR}.${CI_COMMIT_SHA}
|
||||||
|
when:
|
||||||
|
branch: dev
|
||||||
|
path:
|
||||||
|
include: [ '.woodpecker/build.yaml', 'build/*', 'Dockerfile' ]
|
||||||
|
event: [push, manual]
|
||||||
Reference in New Issue
Block a user