Commit 0577f1f4 authored by Peter Trommler's avatar Peter Trommler 🥁

Use docker for podman

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