oci-images/.woodpecker/publish.yaml
Fritz Grimpen 8931f12a03
Some checks failed
ci/woodpecker/tag/publish/3 Pipeline failed
ci/woodpecker/tag/publish/1 Pipeline failed
ci/woodpecker/tag/publish/4 Pipeline failed
ci/woodpecker/tag/tags Pipeline failed
ci/woodpecker/tag/publish/2 Pipeline failed
remove workaround for buildah
2025-07-03 20:27:50 +02:00

31 lines
899 B
YAML

when:
- event: [cron, tag]
matrix:
IMAGE:
- keycloak
- dnssec-signer
- mediawiki
- strichliste
steps:
- name: build
image: quay.io/buildah/stable
commands:
- buildah build --manifest dev.ccchb.de/ccchb/oci-images/${IMAGE} ${IMAGE}/
- buildah manifest push --all dev.ccchb.de/ccchb/oci-images/${IMAGE} oci-archive:/woodpecker/image.tar
backend_options:
kubernetes:
securityContext:
runAsUser: 1000
annotations:
io.kubernetes.cri-o.Devices: /dev/fuse
labels:
app.kubernetes.io/name: builder
- name: push_latest
image: quay.io/skopeo/stable
commands:
- "skopeo copy --dest-creds ccchb:$${FORGEJO_API_TOKEN} oci-archive:/woodpecker/image.tar docker://dev.ccchb.de/ccchb/oci-images/${IMAGE}:latest"
environment:
FORGEJO_API_TOKEN:
from_secret: FORGEJO_API_TOKEN