Skip to content

Commit

Permalink
Update github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate-bot committed Aug 16, 2022
1 parent 869ca2c commit 93c27ca
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/actions/generate-builder/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
using: "composite"
steps:
- name: Checkout the Go builder repository
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
with:
repository: "${{ inputs.repository }}"
ref: "${{ inputs.ref }}"
Expand Down Expand Up @@ -62,7 +62,7 @@ runs:
run: ./.github/actions/generate-builder/generate-builder.sh

- name: Compute sha256 of builder
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
id: compute
with:
path: "${{ inputs.binary }}"
2 changes: 1 addition & 1 deletion .github/actions/secure-download-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ runs:

- name: Compute the hash
id: compute
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
with:
path: "${{ inputs.path }}"

Expand Down
2 changes: 1 addition & 1 deletion .github/actions/secure-upload-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
steps:
- name: Compute binary hash
id: compute-digest
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/compute-sha256@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
with:
path: "${{ inputs.path }}"

Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/builder_go_slsa3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
steps:
- name: Generate random 16-byte value (32-char hex encoded)
id: rng
uses: slsa-framework/slsa-github-generator/.github/actions/rng@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/rng@869ca2ccfe0cab8dee38ea6654ceac5823c1934d

detect-env:
outputs:
Expand All @@ -95,7 +95,7 @@ jobs:
steps:
- name: Generate builder
id: generate
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
with:
repository: "${{ needs.detect-env.outputs.repository }}"
ref: "${{ needs.detect-env.outputs.ref }}"
Expand Down Expand Up @@ -128,12 +128,12 @@ jobs:
needs: [builder, rng]
steps:
- name: Checkout the Go repository
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
with:
go-version: ${{ inputs.go-version }}

- name: Download builder
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
with:
name: "${{ env.BUILDER_BINARY }}-${{ needs.rng.outputs.value }}"
path: "${{ env.BUILDER_BINARY }}"
Expand Down Expand Up @@ -166,12 +166,12 @@ jobs:
needs: [builder, build-dry, rng]
steps:
- name: Checkout the Go repository
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
with:
go-version: ${{ inputs.go-version }}

- name: Download builder
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
with:
name: "${{ env.BUILDER_BINARY }}-${{ needs.rng.outputs.value }}"
path: "${{ env.BUILDER_BINARY }}"
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
- name: Upload generated binary
id: upload
uses: slsa-framework/slsa-github-generator/.github/actions/secure-upload-artifact@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/secure-upload-artifact@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
with:
name: "${{ needs.build-dry.outputs.go-binary-name }}"
path: "${{ needs.build-dry.outputs.go-binary-name }}"
Expand All @@ -238,7 +238,7 @@ jobs:
go-provenance-sha256: ${{ steps.sign-prov.outputs.signed-provenance-sha256 }}
steps:
- name: Download builder
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
with:
name: "${{ env.BUILDER_BINARY }}-${{ needs.rng.outputs.value }}"
path: "${{ env.BUILDER_BINARY }}"
Expand Down Expand Up @@ -290,14 +290,14 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') && inputs.upload-assets == true
steps:
- name: Download binary
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
with:
name: "${{ needs.build-dry.outputs.go-binary-name }}"
path: "${{ needs.build-dry.outputs.go-binary-name }}"
sha256: "${{ needs.build.outputs.go-binary-sha256 }}"

- name: Download provenance
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
with:
name: "${{ needs.provenance.outputs.go-provenance-name }}"
path: "${{ needs.provenance.outputs.go-provenance-name }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/generator_container_slsa3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
steps:
- name: Detect the generator ref
id: detect
uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@869ca2ccfe0cab8dee38ea6654ceac5823c1934d

# generator builds the generator binary and runs it to generate SLSA
# provenance.
Expand All @@ -81,7 +81,7 @@ jobs:
packages: write
steps:
- name: Generate builder
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
with:
repository: "${{ needs.detect-env.outputs.repository }}"
ref: "${{ needs.detect-env.outputs.ref }}"
Expand All @@ -91,7 +91,7 @@ jobs:
# NOTE: We are using the generic generator.
directory: "${{ env.BUILDER_DIR }}"

- uses: sigstore/cosign-installer@09a077b27eb1310dcfb21981bee195b30ce09de0 # tag=v2.5.0
- uses: sigstore/cosign-installer@b3413d484cc23cf8778c3d2aa361568d4eb54679 # tag=v2.5.1
- name: Login
env:
UNTRUSTED_IMAGE: "${{ inputs.image }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/generator_generic_slsa3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
steps:
- name: Detect the generator ref
id: detect
uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/detect-workflow@869ca2ccfe0cab8dee38ea6654ceac5823c1934d

# generator builds the generator binary and runs it to generate SLSA
# provenance.
Expand All @@ -93,7 +93,7 @@ jobs:
actions: read
steps:
- name: Generate builder
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/generate-builder@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
with:
repository: "${{ needs.detect-env.outputs.repository }}"
ref: "${{ needs.detect-env.outputs.ref }}"
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') && inputs.upload-assets == true
steps:
- name: Download the provenance
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@bd5d98277f41bbe5ef9f7a4fd7e0031c9b8aef68
uses: slsa-framework/slsa-github-generator/.github/actions/secure-download-artifact@869ca2ccfe0cab8dee38ea6654ceac5823c1934d
with:
name: "${{ inputs.attestation-name }}"
path: "${{ inputs.attestation-name }}"
Expand Down

0 comments on commit 93c27ca

Please sign in to comment.