This commit is contained in:
parent
f7ea6cc501
commit
f239849162
33
.woodpecker/build_docker.yml
Normal file
33
.woodpecker/build_docker.yml
Normal file
@ -0,0 +1,33 @@
|
||||
steps:
|
||||
build-dev:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: git.sebclem.fr/sebclem/${CI_REPO_NAME}
|
||||
cache_from: git.sebclem.fr/sebclem/${CI_REPO_NAME}
|
||||
registry: git.sebclem.fr
|
||||
auto_tag: true
|
||||
logins:
|
||||
- registry: https://git.sebclem.fr
|
||||
username:
|
||||
from_secret: docker_user
|
||||
password:
|
||||
from_secret: docker_token
|
||||
when:
|
||||
event: [push, pull_request, manual]
|
||||
|
||||
publish:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
platforms: linux/amd64
|
||||
auto_tag: true
|
||||
repo: git.sebclem.fr/sebclem/${CI_REPO_NAME}
|
||||
cache_from: git.sebclem.fr/sebclem/${CI_REPO_NAME}
|
||||
logins:
|
||||
- registry: https://git.sebclem.fr
|
||||
username:
|
||||
from_secret: docker_user
|
||||
password:
|
||||
from_secret: docker_token
|
||||
when:
|
||||
event:
|
||||
- tag
|
Loading…
Reference in New Issue
Block a user