Commit 4c9044be authored by Manuel Munz's avatar Manuel Munz
Browse files

remove --squash from docker build command

parent a791f33c
Pipeline #21424 failed with stage
in 1 minute and 33 seconds
......@@ -23,11 +23,11 @@ fi
for VERSION in $VERSIONS
do
# Build Image
docker build --squash --pull -t "$BUILD_IMAGE_BASE:$VERSION" "$VERSION"
docker build --pull -t "$BUILD_IMAGE_BASE:$VERSION" "$VERSION"
# only CI should be allowed push images
[ -n "$CI_REGISTRY" ] && docker push "$BUILD_IMAGE_BASE:$VERSION"
done
# Build latest image
docker build --squash --pull -t "$BUILD_IMAGE_BASE:latest" "$LATEST_VERSION"
docker build --pull -t "$BUILD_IMAGE_BASE:latest" "$LATEST_VERSION"
[ -n "$CI_REGISTRY" ] && docker push "$BUILD_IMAGE_BASE: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