File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ build-images:
1111 name : gcr.io/kaniko-project/executor:debug
1212 entrypoint : [""]
1313 script :
14- - executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE/$CI_RUNNER_EXECUTABLE_ARCH :$CI_COMMIT_TAG-alpine
15- - executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE/$CI_RUNNER_EXECUTABLE_ARCH :$CI_COMMIT_TAG-slim-bullseye --build-arg PYTHON_FLAVOR=slim-bullseye
14+ - executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE/$OS_ARCH :$CI_COMMIT_TAG-alpine
15+ - executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE/$OS_ARCH :$CI_COMMIT_TAG-slim-bullseye --build-arg PYTHON_FLAVOR=slim-bullseye
1616 rules :
1717 - if : $CI_COMMIT_TAG
1818 tags :
@@ -21,7 +21,9 @@ build-images:
2121 matrix :
2222 # See tags in https://docs.gitlab.com/ee/ci/runners/hosted_runners/linux.html
2323 - RUNNER_TAG : saas-linux-medium-amd64
24+ OS_ARCH : linux/amd64
2425 - RUNNER_TAG : saas-linux-medium-arm64
26+ OS_ARCH : linux/arm64
2527
2628deploy-images :
2729 stage : deploy
You can’t perform that action at this time.
0 commit comments