With the release of k8s-deploy v7 the manifest needs to be within the action workspace. There is no good way to override the output path of k8s-bake to achieve this.
|
protected getTemplatePath = () => { |
|
const tempDirectory = process.env['RUNNER_TEMP'] |
|
if (!!tempDirectory) { |
|
return path.join( |
|
tempDirectory, |
|
'baked-template-' + utilities.getCurrentTime().toString() + '.yaml' |
|
) |
|
} else { |
|
throw Error('Unable to create temp directory.') |
|
} |
|
} |
|
} |
Azure/k8s-deploy#528
With the release of
k8s-deployv7 the manifest needs to be within the action workspace. There is no good way to override the output path ofk8s-baketo achieve this.k8s-bake/src/bake.ts
Lines 17 to 28 in 0ef97ef
Azure/k8s-deploy#528