Fix
This commit is contained in:
parent
87e79e61c8
commit
82a146c156
1 changed files with 8 additions and 5 deletions
|
@ -25,17 +25,20 @@ steps:
|
||||||
# Fill in the trusted checkbox in Woodpecker's settings as well
|
# Fill in the trusted checkbox in Woodpecker's settings as well
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
|
registry: code.philo.ydns.eu
|
||||||
|
org: philorg
|
||||||
|
container_name: test-woodpecker-webapp
|
||||||
registry_token:
|
registry_token:
|
||||||
from_secret: registry_token
|
from_secret: registry_token
|
||||||
commands:
|
commands:
|
||||||
# Login at the registry
|
# Login at the registry
|
||||||
- podman login -u __token__ --password $registry_token
|
- podman login -u __token__ --password $registry_token $registry
|
||||||
# Build the container image
|
# 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 .
|
- podman build --tag $registry/$org/$package_name:latest --tag $registry/$org/$package_name:$CI_COMMIT_SHA .
|
||||||
# Push the image
|
# 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 --sign-by-sigstore-private-key ./key.private code.philo.ydns.eu/$org/$package_name:latest
|
||||||
- podman push code.philo.ydns.eu/philorg/test-woodpecker-webapp:latest
|
- podman push $registry/$org/$package_name:latest
|
||||||
- podman push code.philo.ydns.eu/philorg/test-woodpecker-webapp:$CI_COMMIT_SHA
|
- podman push $registry/$org/$package_name:$CI_COMMIT_SHA
|
||||||
|
|
||||||
# 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue