--- variables: STORAGE_DRIVER: "overlay" stages: - "build" image-build: stage: "image-build" image: "quay.io/buildah/stable:latest" script: # Login to container registry - echo $CR_PASSWORD | buildah login -u $CR_USERNAME --password-stdin $CR_HOSTNAME # Build image using buildah (rootless) - buildah bud -t docs-simoncor-net . # Tag the image for registry - buildah tag docs-simoncor-net cr.simoncor.net/siempie/docs-simoncor-net:latest # Push the image - buildah push cr.simoncor.net/siempie/docs-simoncor-net:latest # Logout - buildah logout $CR_HOSTNAME