Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

Commit 560ce5c

Browse files
committed
signing and attesting each image individually
1 parent 2d0c5d1 commit 560ce5c

1 file changed

Lines changed: 32 additions & 2 deletions

File tree

.github/workflows/full-nix.yml

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ jobs:
261261
name: manifest-tag${{ inputs.artifact-name-suffix }}
262262
path: manifest-tag.txt
263263

264-
sign:
264+
sign-amd64:
265265
if: ${{ inputs.should-deploy }}
266266
needs: [build-amd64, create-manifest]
267267
uses: l3montree-dev/devguard-action/.github/workflows/sign.yml@nix
@@ -276,7 +276,22 @@ jobs:
276276
secrets:
277277
devguard-token: ${{ secrets.devguard-token }}
278278

279-
attest:
279+
sign-arm64:
280+
if: ${{ inputs.should-deploy }}
281+
needs: [build-arm64, create-manifest]
282+
uses: l3montree-dev/devguard-action/.github/workflows/sign.yml@nix
283+
permissions:
284+
contents: read
285+
packages: write
286+
with:
287+
asset-name: ${{ inputs.asset-name }}
288+
api-url: ${{ inputs.api-url }}
289+
artifact-name: ${{ needs.build-arm64.outputs.artifact-purl }}
290+
image-suffix: ${{ inputs.artifact-name-suffix }}-arm64
291+
secrets:
292+
devguard-token: ${{ secrets.devguard-token }}
293+
294+
attest-amd64:
280295
if: ${{ inputs.should-deploy }}
281296
needs: [build-amd64, create-manifest]
282297
uses: l3montree-dev/devguard-action/.github/workflows/attest.yml@nix
@@ -290,3 +305,18 @@ jobs:
290305
image-suffix: ${{ inputs.artifact-name-suffix }}-amd64
291306
secrets:
292307
devguard-token: ${{ secrets.devguard-token }}
308+
309+
attest-arm64:
310+
if: ${{ inputs.should-deploy }}
311+
needs: [build-arm64, create-manifest]
312+
uses: l3montree-dev/devguard-action/.github/workflows/attest.yml@nix
313+
permissions:
314+
contents: read
315+
packages: write
316+
with:
317+
asset-name: ${{ inputs.asset-name }}
318+
api-url: ${{ inputs.api-url }}
319+
artifact-name: ${{ needs.build-arm64.outputs.artifact-purl }}
320+
image-suffix: ${{ inputs.artifact-name-suffix }}-arm64
321+
secrets:
322+
devguard-token: ${{ secrets.devguard-token }}

0 commit comments

Comments
 (0)