build docker image for multi arch
Some checks failed
mapguesser/pipeline/pr-develop There was a failure building this commit

This commit is contained in:
Bence Pőcze 2023-09-26 01:14:17 +02:00
parent fc6141e2b9
commit c918d95a4a
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

1
Jenkinsfile vendored
View File

@ -71,6 +71,7 @@ pipeline {
def imageUrl = "git.esoko.eu/esoko/mapguesser:${version}" def imageUrl = "git.esoko.eu/esoko/mapguesser:${version}"
sh script: """docker buildx build \ sh script: """docker buildx build \
--platform linux/amd64,linux/arm64 \
-t ${imageUrl} \ -t ${imageUrl} \
-f docker/Dockerfile \ -f docker/Dockerfile \
--target mapg_release \ --target mapg_release \