Build for arm architecture

This commit is contained in:
Florian Hoss 2024-05-31 11:31:50 +02:00
parent a833c9c91e
commit 90323b378b
No known key found for this signature in database
GPG key ID: 0638DC11BFD36662
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -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}