set specific arm64 version to v8

This commit is contained in:
Oscar Krause 2023-03-24 07:48:35 +01:00
parent 995b944135
commit 3d9e3cb88f

View File

@ -26,7 +26,7 @@ build:docker:
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- IMAGE=$CI_REGISTRY/$CI_PROJECT_PATH/$CI_BUILD_REF_NAME:$CI_BUILD_REF
- docker buildx build --progress=plain --platform linux/amd64,linux/arm64 --tag $IMAGE --push .
- docker buildx build --progress=plain --platform linux/amd64,linux/arm64/v8 --tag $IMAGE --push .
# - docker push $IMAGE
- echo "CS_IMAGE=$IMAGE" > container_scanning.env
artifacts: