Test podman build
Some checks are pending
ci/woodpecker/manual/build Pipeline is pending

This commit is contained in:
phil 2025-06-26 11:12:24 +02:00
parent 88d96d13f2
commit e3d3e44688

View file

@ -18,16 +18,35 @@ steps:
- pnpm publish --no-git-checks
failure: ignore
container_build_release_push:
#image: docker.io/maltegrosse/woodpecker-buildah:0.0.12
image: code.philo.ydns.eu/philorg/woodpecker-buildah
settings:
registry: code.philo.ydns.eu
repository: philorg/test-woodpecker-webapp
tags: ${CI_COMMIT_SHA}
architectures: amd64
context: Containerfile
username:
from_secret: registry_username
password:
from_secret: registry_password
build_publish:
image: quay.io/podman/stable:latest
# Caution: This image is built daily. It might fill up your image store quickly.
pull: true
# Fill in the trusted checkbox in Woodpecker's settings as well
privileged: true
environment:
registry_token:
from_secret: registry_token
commands:
# Login at the registry
- podman login -u __token__ --password $registry_token
# Build the container image
- podman build --tag code.philo.ydns.eu/philorg/test-woodpecker-webapp:latest -tag code.philo.ydns.eu/philorg/test-woodpecker-webapp:$CI_COMMIT_SHA .
# Push the image
#- podman push --sign-by-sigstore-private-key ./key.private code.philo.ydns.eu/philorg/test-woodpecker-webapp/<image_name>:latest
- podman push code.philo.ydns.eu/philorg/test-woodpecker-webapp:latest
- podman push code.philo.ydns.eu/philorg/test-woodpecker-webapp:$CI_COMMIT_SHA
# container_build_release_push:
# #image: docker.io/maltegrosse/woodpecker-buildah:0.0.12
# image: code.philo.ydns.eu/philorg/woodpecker-buildah
# settings:
# registry: code.philo.ydns.eu
# repository: philorg/test-woodpecker-webapp
# tags: ${CI_COMMIT_SHA}
# architectures: amd64
# context: Containerfile
# username:
# from_secret: registry_username
# password:
# from_secret: registry_password