Skip to content

Commit

Permalink
Update build-terminal-images.yaml (#1412)
Browse files Browse the repository at this point in the history
Signed-off-by: Jamon Camisso <[email protected]>
  • Loading branch information
jamonation authored Mar 4, 2024
1 parent 0c03db1 commit 55e766d
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build-terminal-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
egress-policy: audit

- uses: sigstore/cosign-installer@c3667d99424e7e6047999fb6246c0da843953c65 # v3.0.1
- uses: sigstore/cosign-installer@11086d25041f77fe8fe7b9ea4e48e3b9192b8f19 # v3.1.2

- name: 'Checkout default branch to $GITHUB_WORKSPACE dir'
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3
Expand Down Expand Up @@ -76,18 +76,18 @@ jobs:
-k melange.rsa.pub \
--sbom-path .
- name: cosign login
shell: bash
run: |
cosign login \
-p ${{ steps.auth.outputs.access_token }} \
-u oauth2accesstoken \
${{ env.REGISTRY_URL }}
# - name: cosign login
# shell: bash
# run: |
# cosign login \
# -p ${{ steps.auth.outputs.access_token }} \
# -u oauth2accesstoken \
# ${{ env.REGISTRY_URL }}

- name: cosign attest sbom
working-directory: terminal-images/${{ matrix.image }}
run: cosign attest -y --predicate sbom-x86_64.spdx.json --type spdxjson "$(cat image-refs.txt)"
# - name: cosign attest sbom
# working-directory: terminal-images/${{ matrix.image }}
# run: cosign attest -y --predicate sbom-x86_64.spdx.json --type spdxjson "$(cat image-refs.txt)"

- name: cosign sign image
working-directory: terminal-images/${{ matrix.image }}
run: cosign sign -y "$(cat image-refs.txt)"
# - name: cosign sign image
# working-directory: terminal-images/${{ matrix.image }}
# run: cosign sign -y "$(cat image-refs.txt)"

0 comments on commit 55e766d

Please sign in to comment.