Add docker build in CI
This commit is contained in:
parent
4685abc894
commit
00ae10d583
1 changed files with 29 additions and 0 deletions
29
.woodpecker/build-docker.yml
Normal file
29
.woodpecker/build-docker.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
platform: linux/amd64
|
||||
|
||||
|
||||
variables:
|
||||
- &on-release
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- tag
|
||||
branch:
|
||||
- docker
|
||||
- &on-stable
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- tag
|
||||
branch:
|
||||
- stable
|
||||
|
||||
pipeline:
|
||||
build:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
secrets: [docker_username, docker_password]
|
||||
<<: *on-release
|
||||
settings:
|
||||
repo: akkoma/akkoma
|
||||
dockerfile: Dockerfile
|
||||
platforms: linux/amd64
|
||||
tag: test
|
Loading…
Reference in a new issue