mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-17 02:06:43 +00:00
formatted kaniko.ts
This commit is contained in:
@@ -194,7 +194,8 @@ export function kanikoPod(
|
|||||||
{
|
{
|
||||||
name: POD_VOLUME_NAME,
|
name: POD_VOLUME_NAME,
|
||||||
mountPath: '/mnt/kan',
|
mountPath: '/mnt/kan',
|
||||||
subPath: "_actions/fhammerl/container-actions-demo/main/docker-built-from-file",
|
subPath:
|
||||||
|
'_actions/fhammerl/container-actions-demo/main/docker-built-from-file',
|
||||||
readOnly: true
|
readOnly: true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -217,7 +218,8 @@ export function kanikoPod(
|
|||||||
pod.spec.volumes = [
|
pod.spec.volumes = [
|
||||||
{
|
{
|
||||||
name: POD_VOLUME_NAME,
|
name: POD_VOLUME_NAME,
|
||||||
persistentVolumeClaim: { claimName },
|
persistentVolumeClaim: { claimName }
|
||||||
}]
|
}
|
||||||
|
]
|
||||||
return pod
|
return pod
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user