Commit 284bd431 authored by Kevin Daudt's avatar Kevin Daudt

docker-image: add --pull to build command

docker does not automatically make sure the latest base images are
fetche before building in image. This causes old base images to be used
even when newer ones are available.

Add `--pull` to the build command to make sure it fetches new images
before using them.
parent 9a262db5
Pipeline #7560 passed with stage
in 24 seconds
......@@ -42,7 +42,7 @@ lint:
extends: .build
script:
- >
docker build --no-cache
docker build --no-cache --pull
--platform $DOCKER_PLATFORM
--build-arg DOCKER_ARCH=$DOCKER_ARCH/
--build-arg ALPINE_ARCH=-$ARCH
......
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