woodpecker: add ci
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Tom Neuber 2024-10-09 01:05:44 +02:00
parent 89e81d78bd
commit 57ccc28a6e
Signed by: tom
GPG key ID: F17EFE4272D89FF6

40
.woodpecker/.build.yaml Normal file
View file

@ -0,0 +1,40 @@
---
steps:
- name: build (prod)
image: woodpeckerci/plugin-docker-buildx
settings:
registry: git.ar21.de
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASS
repo: git.ar21.de/tom/push-message-randomizer
platforms:
- linux/amd64
- linux/arm64
tags:
- latest
- ${CI_PIPELINE_NUMBER}
when:
- branch: main
event: push
- name: build (experimental)
image: woodpeckerci/plugin-docker-buildx
settings:
registry: git.ar21.de
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASS
repo: git.ar21.de/tom/push-message-randomizer
platforms:
- linux/amd64
- linux/arm64
tags:
- experimental
- experimental-${CI_PIPELINE_NUMBER}
when:
- branch:
exclude: main
event: push