feat: add quotes

This commit is contained in:
Simon Cornet 2025-06-10 16:22:39 +02:00
commit 041bec8c07

View file

@ -11,16 +11,16 @@ image-build:
script: script:
# Login to container registry # Login to container registry
- echo $CR_PASSWORD | buildah login -u $CR_USERNAME --password-stdin $CR_HOSTNAME - "echo $CR_PASSWORD | buildah login -u $CR_USERNAME --password-stdin $CR_HOSTNAME"
# Build image using buildah (rootless) # Build image using buildah (rootless)
- buildah bud -t docs-simoncor-net . - "buildah bud -t docs-simoncor-net ."
# Tag the image for registry # Tag the image for registry
- buildah tag docs-simoncor-net cr.simoncor.net/siempie/docs-simoncor-net:latest - "buildah tag docs-simoncor-net cr.simoncor.net/siempie/docs-simoncor-net:latest"
# Push the image # Push the image
- buildah push cr.simoncor.net/siempie/docs-simoncor-net:latest - "buildah push cr.simoncor.net/siempie/docs-simoncor-net:latest"
# Logout # Logout
- buildah logout $CR_HOSTNAME - "buildah logout $CR_HOSTNAME"