Skip to content

Commit 3e8d44b

Browse files
committed
update actions-toolkit to 0.71.0
Signed-off-by: CrazyMax <[email protected]>
1 parent b5402a6 commit 3e8d44b

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

.github/workflows/bake.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ on:
125125
env:
126126
BUILDX_VERSION: "v0.30.1"
127127
BUILDKIT_IMAGE: "moby/buildkit:v0.26.2"
128-
DOCKER_ACTIONS_TOOLKIT_MODULE: "@docker/actions-toolkit@0.67.0"
128+
DOCKER_ACTIONS_TOOLKIT_MODULE: "@docker/actions-toolkit@0.71.0"
129129
COSIGN_VERSION: "v3.0.2"
130130
LOCAL_EXPORT_DIR: "/tmp/buildx-output"
131131
MATRIX_SIZE_LIMIT: "20"
@@ -144,7 +144,7 @@ jobs:
144144
INPUT_DAT-MODULE: ${{ env.DOCKER_ACTIONS_TOOLKIT_MODULE }}
145145
with:
146146
script: |
147-
await exec.exec('npm', ['install', '--prefer-offline', '--no-audit', '--ignore-scripts', core.getInput('dat-module')]);
147+
await exec.exec('npm', ['install', '--prefer-offline', '--ignore-scripts', core.getInput('dat-module')]);
148148
-
149149
name: Set outputs
150150
id: set
@@ -312,7 +312,7 @@ jobs:
312312
INPUT_DAT-MODULE: ${{ env.DOCKER_ACTIONS_TOOLKIT_MODULE }}
313313
with:
314314
script: |
315-
await exec.exec('npm', ['install', '--prefer-offline', '--no-audit', '--ignore-scripts', core.getInput('dat-module')]);
315+
await exec.exec('npm', ['install', '--prefer-offline', '--ignore-scripts', core.getInput('dat-module')]);
316316
-
317317
name: Docker meta
318318
id: meta
@@ -519,7 +519,12 @@ jobs:
519519
const { Install } = require('@docker/actions-toolkit/lib/cosign/install');
520520
521521
const cosignInstall = new Install();
522-
const cosignBinPath = await cosignInstall.download(core.getInput('cosign-version'), true, true);
522+
const cosignBinPath = await cosignInstall.download({
523+
version: core.getInput('cosign-version'),
524+
ghaNoCache: true,
525+
skipState: true,
526+
verifySignature: true
527+
});
523528
await cosignInstall.install(cosignBinPath);
524529
525530
const cosign = new Cosign();

.github/workflows/build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ on:
132132
env:
133133
BUILDX_VERSION: "v0.30.1"
134134
BUILDKIT_IMAGE: "moby/buildkit:v0.26.2"
135-
DOCKER_ACTIONS_TOOLKIT_MODULE: "@docker/actions-toolkit@0.67.0"
135+
DOCKER_ACTIONS_TOOLKIT_MODULE: "@docker/actions-toolkit@0.71.0"
136136
COSIGN_VERSION: "v3.0.2"
137137
LOCAL_EXPORT_DIR: "/tmp/buildx-output"
138138
MATRIX_SIZE_LIMIT: "20"
@@ -151,7 +151,7 @@ jobs:
151151
INPUT_DAT-MODULE: ${{ env.DOCKER_ACTIONS_TOOLKIT_MODULE }}
152152
with:
153153
script: |
154-
await exec.exec('npm', ['install', '--prefer-offline', '--no-audit', '--ignore-scripts', core.getInput('dat-module')]);
154+
await exec.exec('npm', ['install', '--prefer-offline', '--ignore-scripts', core.getInput('dat-module')]);
155155
-
156156
name: Set outputs
157157
id: set
@@ -274,7 +274,7 @@ jobs:
274274
INPUT_DAT-MODULE: ${{ env.DOCKER_ACTIONS_TOOLKIT_MODULE }}
275275
with:
276276
script: |
277-
await exec.exec('npm', ['install', '--prefer-offline', '--no-audit', '--ignore-scripts', core.getInput('dat-module')]);
277+
await exec.exec('npm', ['install', '--prefer-offline', '--ignore-scripts', core.getInput('dat-module')]);
278278
-
279279
name: Docker meta
280280
id: meta
@@ -420,7 +420,12 @@ jobs:
420420
const { Install } = require('@docker/actions-toolkit/lib/cosign/install');
421421
422422
const cosignInstall = new Install();
423-
const cosignBinPath = await cosignInstall.download(core.getInput('cosign-version'), true, true);
423+
const cosignBinPath = await cosignInstall.download({
424+
version: core.getInput('cosign-version'),
425+
ghaNoCache: true,
426+
skipState: true,
427+
verifySignature: true
428+
});
424429
await cosignInstall.install(cosignBinPath);
425430
426431
const cosign = new Cosign();

0 commit comments

Comments
 (0)