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

@ -27,7 +27,7 @@ Assuming the image you want to add is called `new-image`:
```yml
new-image:
extends: .build_and_deploy
extends: .build_static_image
```
1. Add a Dockerfile: `Dockerfile.new-image`.
@ -84,7 +84,7 @@ following job definition would have to be created:
```yml
new_image:
extends:
- .build_and_push
- .build_dynamic_image
variables:
OS: 'debian:bullseye'
RUBY: '3.0'