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,
|
||||
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
|
||||
}
|
||||
]
|
||||
@@ -217,7 +218,8 @@ export function kanikoPod(
|
||||
pod.spec.volumes = [
|
||||
{
|
||||
name: POD_VOLUME_NAME,
|
||||
persistentVolumeClaim: { claimName },
|
||||
}]
|
||||
persistentVolumeClaim: { claimName }
|
||||
}
|
||||
]
|
||||
return pod
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user