mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Update build step for new Docker images
This commit is contained in:
parent
b0f0352a1b
commit
f47b51c0ed
2 changed files with 20 additions and 14 deletions
24
README.md
24
README.md
|
|
@ -25,20 +25,20 @@ Assuming the image you want to add is called `new-image`:
|
|||
|
||||
1. Add a new build job:
|
||||
|
||||
```yml
|
||||
new-image:
|
||||
extends: .build_static_image
|
||||
```
|
||||
```yml
|
||||
new-image:
|
||||
extends: .build_static_image
|
||||
```
|
||||
|
||||
**NOTE:** You can use `parallel:matrix` keyword to build images for multiple architectures:
|
||||
**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' ]
|
||||
```
|
||||
```yml
|
||||
new-image:
|
||||
extends: .build_static_image
|
||||
parallel:
|
||||
matrix:
|
||||
- ARCH: [ 'arm64', 'amd64' ]
|
||||
```
|
||||
|
||||
1. Add a Dockerfile: `Dockerfile.new-image`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue