mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Normalize Docker image name for building a static image via matrix
This commit is contained in:
parent
f09e3e4423
commit
943c09c4d3
2 changed files with 14 additions and 3 deletions
10
README.md
10
README.md
|
|
@ -30,6 +30,16 @@ new-image:
|
|||
extends: .build_static_image
|
||||
```
|
||||
|
||||
**NOTE:** You can use `parallel:matrix` keyword to build images for multiple architectures:
|
||||
|
||||
```yml
|
||||
new-image:
|
||||
extends: .build_static_image
|
||||
parallel:
|
||||
matrix:
|
||||
- ARCH: [ 'arm64', 'amd64' ]
|
||||
```
|
||||
|
||||
1. Add a Dockerfile: `Dockerfile.new-image`.
|
||||
|
||||
### Use a custom image with versioned features
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue