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:
|
before_script:
|
||||||
- !reference [.auth_gitlab, before_script]
|
- !reference [.auth_gitlab, before_script]
|
||||||
script:
|
script:
|
||||||
|
- docker buildx create --use
|
||||||
- docker compose build godash
|
- docker compose build godash
|
||||||
- docker tag $CURRENT_IMAGE $LATEST_IMAGE
|
- docker tag $CURRENT_IMAGE $LATEST_IMAGE
|
||||||
- docker push $CURRENT_IMAGE
|
- docker push $CURRENT_IMAGE
|
||||||
|
|
|
@ -90,6 +90,9 @@ services:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
platforms:
|
||||||
|
- linux/amd64
|
||||||
|
- linux/arm64
|
||||||
args:
|
args:
|
||||||
- V_GOLANG=${V_GOLANG}
|
- V_GOLANG=${V_GOLANG}
|
||||||
- V_NODE=${V_NODE}
|
- V_NODE=${V_NODE}
|
||||||
|
|
Loading…
Reference in a new issue