Corrected sysbox runtime declaration in workflow
This commit is contained in:
@ -98,6 +98,8 @@ spec:
|
|||||||
inputs:
|
inputs:
|
||||||
parameters:
|
parameters:
|
||||||
- name: git-sha
|
- name: git-sha
|
||||||
|
podSpecPatch: |
|
||||||
|
runtimeClassName: sysbox-runc
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
io.kubernetes.cri-o.userns-mode: "auto:size=65536"
|
io.kubernetes.cri-o.userns-mode: "auto:size=65536"
|
||||||
@ -112,10 +114,9 @@ spec:
|
|||||||
DOCKER_IMAGE={{workflow.parameters.image}}:${CI_COMMIT_SHA}
|
DOCKER_IMAGE={{workflow.parameters.image}}:${CI_COMMIT_SHA}
|
||||||
docker build -t $DOCKER_IMAGE --build-arg APP_VERSION=${CI_COMMIT_SHA} --build-arg BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") .
|
docker build -t $DOCKER_IMAGE --build-arg APP_VERSION=${CI_COMMIT_SHA} --build-arg BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") .
|
||||||
|
|
||||||
az login --identity --client-id {{workflow.parameters.client_id}}
|
az login --identity --client-id {{workflow.parameters.client-id}}
|
||||||
az acr login --name {{workflow.parameters.acr-name}}
|
az acr login --name {{workflow.parameters.acr-name}}
|
||||||
docker push ${DOCKER_IMAGE}
|
docker push ${DOCKER_IMAGE}
|
||||||
runtimeClassName: sysbox-runc
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: workspace
|
- name: workspace
|
||||||
mountPath: /workspace
|
mountPath: /workspace
|
||||||
|
Reference in New Issue
Block a user