Update Action to Node 16 and handle set-output deprecation (#109)

* update: action runtime to node16

* chore: pin dependencies

* fix: build error with new TS version

* add: editorconfig

* chore: update all actions used in workflows

* update: readme action sample versions

* chore: bump developer dependencies

* chore: bump developer dependencies

* fix: eslint issues

* fix: broken buildah copy logic

* chore: address review feedback version bump
This commit is contained in:
K3rnelPan1c 2022-12-23 15:30:57 +00:00 committed by GitHub
parent 4b8d36793b
commit 5177407148
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 3587 additions and 4880 deletions

View file

@ -66,9 +66,17 @@ export class BuildahCli implements Buildah {
}
async buildUsingDocker(
image: string, context: string, containerFiles: string[], buildArgs: string[],
useOCI: boolean, labels: string[], layers: string,
extraArgs: string[], tlsVerify: boolean, arch?: string, platform?: string
image: string,
context: string,
containerFiles: string[],
buildArgs: string[],
useOCI: boolean,
labels: string[],
layers: string,
extraArgs: string[],
tlsVerify: boolean,
arch?: string,
platform?: string
): Promise<CommandResult> {
const args: string[] = [ "bud" ];
if (arch) {
@ -122,8 +130,9 @@ export class BuildahCli implements Buildah {
core.debug("copy");
core.debug(container);
for (const content of contentToCopy) {
const args: string[] = [ "copy", container, content ];
core.debug("content: " + contentToCopy.join(" "));
if (contentToCopy.length > 0) {
const args: string[] = [ "copy", container ].concat(contentToCopy);
if (contentPath) {
args.push(contentPath);
}