mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Only build/tag/push images once
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
cc680155e8
commit
611204c382
4 changed files with 73 additions and 8 deletions
12
README.md
12
README.md
|
|
@ -65,6 +65,18 @@ the name would be `ruby-2.4-golang-1.9-git-2.14`.
|
|||
1. Add a test task: `ruby-2.4-golang-1.9-git-2.14 test: *test_custom`
|
||||
1. Add a new build task: `ruby-2.4-golang-1.9-git-2.14: *build_and_deploy_custom`
|
||||
|
||||
#### Forcing custom images to be rebuilt
|
||||
|
||||
By default, once a custom image is built, tagged and pushed to the registry, it's
|
||||
not rebuilt to ensure an upstream dependency doesn't end up breaking our images
|
||||
unexpectedly.
|
||||
|
||||
For reference, this happened in the past: https://gitlab.com/gitlab-org/gitlab/issues/205192
|
||||
|
||||
In the rare case where the `Dockerfile.custom` file is updated and all custom
|
||||
images shoulld be rebuild, you can start a new pipeline and set the variable
|
||||
`FORCE_BUILD` to `true`.
|
||||
|
||||
## Note regarding Google Chrome
|
||||
|
||||
Google has a policy of yanking older versions of Google Chrome from their PPA
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue