ci: Only build custom images that need to be rebuilt

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2023-01-25 18:39:28 +01:00
parent ccd8e00291
commit 684f0ce8ef
No known key found for this signature in database
10 changed files with 125 additions and 62 deletions

View file

@ -1,9 +1,17 @@
# Used by gitlab e2e tests and other qa related tasks
.e2e:
extends:
- .build_dynamic_image
rules:
- !reference [.build_dynamic_image, rules]
- changes:
- "scripts/lib/custom-docker-build"
- ".gitlab/ci/e2e.images.yml"
# Base image with just ruby and bundler
e2e:
extends:
- .build_and_push
- .e2e
variables:
OS: "debian:bullseye"
BUNDLER: '2.3'