Don't use cache when building official Docker images
What does this MR do?
Removes pulling of
gitlab/gitlab-runner:alpine and usage of
--cache-from X when building official images.
Why was this MR needed?
In case of building this image possibility to rebuild image from scratch (so for example - pulling the newest versions of system packages, which may include security fixes) is more important than saving few minutes by using cache with latest images. This is exactly what prevented 11.4.1 from being released properly for
:alpine image and required
11.4.2 to be pushed just after it.
This MR is removing unnecessary steps.
Are there points in the code the reviewer needs to double check?
Does this MR meet the acceptance criteria?
Added tests for this feature/bug
In case of conflicts with
master- branch was rebased