also building armhf

This commit is contained in:
2022-02-01 17:19:36 +01:00
parent 50ee3e875a
commit 225c04e35b

View File

@@ -42,13 +42,24 @@ spec:
- name: builtImage - name: builtImage
type: image type: image
steps: steps:
- name: build-and-push - name: build-and-push-arm64
image: gcr.io/kaniko-project/executor:arm64 image: gcr.io/kaniko-project/executor:arm64
command: command:
- /kaniko/executor - /kaniko/executor
args: args:
- --dockerfile=$(params.pathToDockerFile) - --dockerfile=$(params.pathToDockerFile)
- --destination=$(resources.outputs.builtImage.url) - --destination=$(resources.outputs.builtImage.url):arm64
- --context=$(params.pathToContext)
- --snapshotMode=redo
- --skip-tls-verify
- name: build-and-push-armhf
image: gcr.io/kaniko-project/executor:arm64
command:
- /kaniko/executor
args:
- --customPlattform=arm32
- --dockerfile=$(params.pathToDockerFile)
- --destination=$(resources.outputs.builtImage.url):armhf
- --context=$(params.pathToContext) - --context=$(params.pathToContext)
- --snapshotMode=redo - --snapshotMode=redo
- --skip-tls-verify - --skip-tls-verify