Build for arm architecture
This commit is contained in:
parent
a833c9c91e
commit
90323b378b
2 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,7 @@ build:
|
|||
before_script:
|
||||
- !reference [.auth_gitlab, before_script]
|
||||
script:
|
||||
- docker buildx create --use
|
||||
- docker compose build godash
|
||||
- docker tag $CURRENT_IMAGE $LATEST_IMAGE
|
||||
- docker push $CURRENT_IMAGE
|
||||
|
|
|
@ -90,6 +90,9 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
platforms:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
args:
|
||||
- V_GOLANG=${V_GOLANG}
|
||||
- V_NODE=${V_NODE}
|
||||
|
|
Loading…
Reference in a new issue