Commit 520b43b1 authored by Peter Trommler's avatar Peter Trommler 🥁

Use podman for docker

parent 1fc2b6f0
Pipeline #19706 failed with stage
in 13 seconds
......@@ -14,12 +14,12 @@ variables:
script:
- |
CONTAINER_IMAGE="$CONTAINER_IMAGE_BASE/$IMAGE"
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
docker pull $CONTAINER_IMAGE:latest || true
docker build --cache-from $CONTAINER_IMAGE:latest --tag $CONTAINER_IMAGE:$CI_COMMIT_SHA --tag $CONTAINER_IMAGE:latest $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
if [ -z "$CI_MERGE_REQUEST_ID" ]; then
docker push $CONTAINER_IMAGE:$CI_COMMIT_SHA
docker push $CONTAINER_IMAGE:latest
podman push $CONTAINER_IMAGE:$CI_COMMIT_SHA
podman push $CONTAINER_IMAGE:latest
fi
build-ppc64le-linux-opensuse151:
......
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