mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 02:22:57 +01:00
ci: Only build custom images that need to be rebuilt
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
ccd8e00291
commit
684f0ce8ef
10 changed files with 125 additions and 62 deletions
|
|
@ -1,19 +1,24 @@
|
|||
# Docker image with buildx plugin
|
||||
.docker:
|
||||
extends:
|
||||
- .build_dynamic_image
|
||||
variables:
|
||||
DOCKER: '20.10.21'
|
||||
BUILDX: '0.9'
|
||||
rules:
|
||||
- !reference [.build_dynamic_image, rules]
|
||||
- changes:
|
||||
- "scripts/lib/custom-docker-build"
|
||||
- ".gitlab/ci/docker.images.yml"
|
||||
|
||||
docker:
|
||||
extends:
|
||||
- .docker
|
||||
- .build_and_push
|
||||
variables:
|
||||
OS: "debian:bullseye"
|
||||
|
||||
docker-slim:
|
||||
extends:
|
||||
- .docker
|
||||
- .build_and_push
|
||||
variables:
|
||||
OS: "debian:bullseye-slim"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue