Commit bd087142 authored by Peter Trommler's avatar Peter Trommler 🥁

Pass additional parameters to build

parent 160fd4be
Pipeline #19730 failed with stage
in 15 seconds
......@@ -16,7 +16,7 @@ variables:
CONTAINER_IMAGE="$CONTAINER_IMAGE_BASE/$IMAGE"
podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
podman pull $CONTAINER_IMAGE:latest || true
podman build --cache-from $CONTAINER_IMAGE:latest --tag $CONTAINER_IMAGE:$CI_COMMIT_SHA --tag $CONTAINER_IMAGE:latest $IMAGE
podman build --device /dev/fuse:rw --cache-from $CONTAINER_IMAGE:latest --tag $CONTAINER_IMAGE:$CI_COMMIT_SHA --tag $CONTAINER_IMAGE:latest $IMAGE
if [ -z "$CI_MERGE_REQUEST_ID" ]; then
podman push $CONTAINER_IMAGE:$CI_COMMIT_SHA
podman push $CONTAINER_IMAGE:latest
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment