This commit is contained in:
phil 2025-06-26 11:51:14 +02:00
parent 71cdaa779a
commit d8016be4e6

View file

@ -34,11 +34,11 @@ steps:
# Login at the registry # Login at the registry
- podman login -u __token__ --password $registry_token $registry - podman login -u __token__ --password $registry_token $registry
# Build the container image # Build the container image
- podman build --tag $registry/$org/$container_name:latest --tag $registry/$org/$container_name:$CI_COMMIT_SHA . - podman build --tag $registry/$org/$container_name:latest --tag $registry/$org/$container_name:$CI_COMMIT_TAG .
# Push the image # Push the image
#- podman push --sign-by-sigstore-private-key ./key.private code.philo.ydns.eu/$org/$container_name:latest #- podman push --sign-by-sigstore-private-key ./key.private code.philo.ydns.eu/$org/$container_name:latest
- podman push $registry/$org/$container_name:latest - podman push $registry/$org/$container_name:latest
- podman push $registry/$org/$container_name:$CI_COMMIT_SHA - podman push $registry/$org/$container_name:$CI_COMMIT_TAG
# container_build_release_push: # container_build_release_push:
# #image: docker.io/maltegrosse/woodpecker-buildah:0.0.12 # #image: docker.io/maltegrosse/woodpecker-buildah:0.0.12