-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#label:release v1.6.0 --------- Signed-off-by: Ian Lewis <[email protected]>
- Loading branch information
Ian Lewis
authored
May 11, 2023
1 parent
8ff4f7f
commit 0779f7b
Showing
23 changed files
with
95 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ runs: | |
using: "composite" | ||
steps: | ||
- name: Checkout builder repository | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
repository: ${{ inputs.repository }} | ||
ref: ${{ inputs.ref }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,7 +71,7 @@ runs: | |
|
||
- name: Compute the hash | ||
id: compute | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
path: "${{ steps.validate-path.outputs.file_path }}" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ runs: | |
steps: | ||
- name: Compute a random value | ||
id: rng | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
|
||
- name: Download the artifact | ||
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 | ||
|
@@ -27,7 +27,7 @@ runs: | |
|
||
- name: Compute the hash | ||
id: compute | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
path: "${{ steps.rng.outputs.random }}/folder.tgz" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ runs: | |
steps: | ||
- name: Compute binary hash | ||
id: compute-digest | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
path: "${{ inputs.path }}" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ runs: | |
- name: Upload the artifact | ||
id: upload | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
name: "${{ inputs.name }}" | ||
path: "${{ steps.create.outputs.tarball-path }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,7 +151,7 @@ jobs: | |
steps: | ||
- name: Generate random 16-byte value (32-char hex encoded) | ||
id: rng | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
|
||
# This detects the repository and ref of the reusable workflow. | ||
# For pull request, this gets the referenced slsa-github-generator workflow. | ||
|
@@ -166,7 +166,7 @@ jobs: | |
steps: | ||
- name: Detect the builder ref | ||
id: detect | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
|
||
################################################################### | ||
# # | ||
|
@@ -183,7 +183,7 @@ jobs: | |
steps: | ||
- name: Generate builder binary | ||
id: generate | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
repository: "${{ needs.detect-env.outputs.repository }}" | ||
ref: "${{ needs.detect-env.outputs.ref }}" | ||
|
@@ -216,7 +216,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | ||
- name: Checkout builder repository | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
repository: "${{ needs.detect-env.outputs.repository }}" | ||
ref: "${{ needs.detect-env.outputs.ref }}" | ||
|
@@ -344,7 +344,7 @@ jobs: | |
- name: Checkout builder repository | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
repository: "${{ needs.detect-env.outputs.repository }}" | ||
ref: "${{ needs.detect-env.outputs.ref }}" | ||
|
@@ -472,7 +472,7 @@ jobs: | |
provenance-sha256: ${{ steps.upload-signed.outputs.sha256 }} | ||
steps: | ||
- name: Checkout builder repository | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
repository: "${{ needs.detect-env.outputs.repository }}" | ||
ref: "${{ needs.detect-env.outputs.ref }}" | ||
|
@@ -562,7 +562,7 @@ jobs: | |
if: inputs.upload-assets && (startsWith(github.ref, 'refs/tags/') || inputs.upload-tag-name != '') | ||
steps: | ||
- name: Checkout builder repository | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
repository: "${{ needs.detect-env.outputs.repository }}" | ||
ref: "${{ needs.detect-env.outputs.ref }}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,7 +112,7 @@ jobs: | |
steps: | ||
- name: Generate random 16-byte value (32-char hex encoded) | ||
id: rng | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
|
||
detect-env: | ||
outputs: | ||
|
@@ -124,7 +124,7 @@ jobs: | |
steps: | ||
- name: Detect the builder ref | ||
id: detect | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
|
||
################################################################### | ||
# # | ||
|
@@ -139,7 +139,7 @@ jobs: | |
steps: | ||
- name: Generate builder binary | ||
id: generate | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
repository: "${{ needs.detect-env.outputs.repository }}" | ||
ref: "${{ needs.detect-env.outputs.ref }}" | ||
|
@@ -173,7 +173,7 @@ jobs: | |
needs: [builder, rng, detect-env] | ||
steps: | ||
- name: Checkout builder repository | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
repository: "${{ needs.detect-env.outputs.repository }}" | ||
ref: "${{ needs.detect-env.outputs.ref }}" | ||
|
@@ -219,7 +219,7 @@ jobs: | |
needs: [builder, build-dry, rng, detect-env] | ||
steps: | ||
- name: Checkout builder repository | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
repository: "${{ needs.detect-env.outputs.repository }}" | ||
ref: "${{ needs.detect-env.outputs.ref }}" | ||
|
@@ -299,7 +299,7 @@ jobs: | |
go-provenance-sha256: ${{ steps.sign-prov.outputs.signed-provenance-sha256 }} | ||
steps: | ||
- name: Checkout builder repository | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
repository: "${{ needs.detect-env.outputs.repository }}" | ||
ref: "${{ needs.detect-env.outputs.ref }}" | ||
|
@@ -357,7 +357,7 @@ jobs: | |
if: inputs.upload-assets && (startsWith(github.ref, 'refs/tags/') || inputs.upload-tag-name != '') | ||
steps: | ||
- name: Checkout builder repository | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
repository: "${{ needs.detect-env.outputs.repository }}" | ||
ref: "${{ needs.detect-env.outputs.ref }}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,7 +89,7 @@ jobs: | |
steps: | ||
- name: Generate the token | ||
id: generate | ||
uses: slsa-framework/slsa-github-generator/actions/delegator/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/actions/delegator/[email protected] | ||
with: | ||
slsa-workflow-recipient: "delegator_lowperms-generic_slsa3.yml" | ||
slsa-rekor-log-public: ${{ inputs.rekor-log-public }} | ||
|
@@ -104,6 +104,6 @@ jobs: | |
id-token: write # For signing. | ||
contents: read # For repo checkout of private repos. | ||
actions: read # For getting workflow run on private repos. | ||
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected] | ||
with: | ||
slsa-token: ${{ needs.slsa-setup.outputs.slsa-token }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,7 +85,7 @@ jobs: | |
steps: | ||
- name: Generate random 16-byte value (32-char hex encoded) | ||
id: rng | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
|
||
# verify-token verifies the slsa token. | ||
verify-token: | ||
|
@@ -101,15 +101,15 @@ jobs: | |
steps: | ||
- name: Verify token | ||
id: verify | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
slsa-workflow-recipient: "delegator_generic_slsa3.yml" | ||
slsa-unverified-token: ${{ inputs.slsa-token }} | ||
output-predicate: ${{ env.SLSA_PREDICATE_FILE }} | ||
|
||
- name: Upload predicate | ||
id: upload | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
name: "${{ needs.rng.outputs.value }}-${{ env.SLSA_PREDICATE_FILE }}" | ||
path: ${{ env.SLSA_PREDICATE_FILE }} | ||
|
@@ -120,7 +120,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check private repos | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
error_message: "Repository is private. The workflow has halted in order to keep the repository name from being exposed in the public transparency log. Set 'private-repository' to override." | ||
override: ${{ fromJson(needs.verify-token.outputs.slsa-verified-token).builder.rekor_log_public }} | ||
|
@@ -147,7 +147,7 @@ jobs: | |
echo "$RUNNER: $RUNNER" | ||
- name: Checkout the tool repository | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
repository: ${{ needs.verify-token.outputs.tool-repository }} | ||
ref: ${{ needs.verify-token.outputs.tool-ref }} | ||
|
@@ -171,7 +171,7 @@ jobs: | |
tree | ||
- name: Checkout the project repository | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
fetch-depth: ${{ toJson(needs.verify-token.outputs.slsa-verified-token).source.checkout.fetch_depth }} | ||
|
||
|
@@ -212,7 +212,7 @@ jobs: | |
- name: Upload artifact layout file | ||
id: upload | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
name: "${{ needs.rng.outputs.value }}-${{ env.SLSA_ARTIFACTS_FILE }}" | ||
path: "${{ env.SLSA_ARTIFACTS_FILE }}" | ||
|
@@ -228,14 +228,14 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download the artifact layout file | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
name: "${{ needs.rng.outputs.value }}-${{ env.SLSA_ARTIFACTS_FILE }}" | ||
path: "${{ env.SLSA_ARTIFACTS_FILE }}" | ||
sha256: ${{ needs.build-artifacts-ubuntu.outputs.artifacts-layout-sha256 }} | ||
|
||
- name: Download the predicate file | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
name: "${{ needs.rng.outputs.value }}-${{ env.SLSA_PREDICATE_FILE }}" | ||
path: ${{ env.SLSA_PREDICATE_FILE }} | ||
|
@@ -265,7 +265,7 @@ jobs: | |
- name: Generate attestations | ||
id: attestations | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
slsa-layout-file: ${{ env.SLSA_ARTIFACTS_FILE }} | ||
predicate-type: ${{ steps.predicate-type.outputs.predicate-type }} | ||
|
@@ -274,14 +274,14 @@ jobs: | |
|
||
- name: Sign attestations | ||
id: sign | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
attestations: attestations | ||
output-folder: "${{ needs.rng.outputs.value }}-slsa-attestations" | ||
|
||
- name: Upload attestations | ||
id: upload | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected]-rc.3 | ||
uses: slsa-framework/slsa-github-generator/.github/actions/[email protected] | ||
with: | ||
name: "${{ needs.rng.outputs.value }}-slsa-attestations" | ||
path: "${{ needs.rng.outputs.value }}-slsa-attestations" | ||
|
Oops, something went wrong.