also building armhf
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user