mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-24 08:50:07 -05:00
reference selection
This commit is contained in:
parent
f3cf8bedc4
commit
a1541824c8
@ -3,15 +3,22 @@ on:
|
|||||||
release:
|
release:
|
||||||
types: [created]
|
types: [created]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
releasetag:
|
||||||
|
type: string
|
||||||
|
description: The release to checkout and download.
|
||||||
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-reproducibility:
|
check-reproducibility:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
env:
|
||||||
|
REF: ${{ github.event_name == 'workflow_dispatch' ? github.event.inputs.releasetag : github.event.release.tag_name }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.release.tag_name }}
|
ref: ${{ env.REF }}
|
||||||
- name: Set up bazel
|
- name: Set up bazel
|
||||||
uses: ./.github/actions/setup_bazel_nix
|
uses: ./.github/actions/setup_bazel_nix
|
||||||
with:
|
with:
|
||||||
@ -33,7 +40,7 @@ jobs:
|
|||||||
cd $(mktemp -d)
|
cd $(mktemp -d)
|
||||||
|
|
||||||
echo "Downloading release measurements"
|
echo "Downloading release measurements"
|
||||||
curl -O https://cdn.confidential.cloud/constellation/v2/ref/-/stream/stable/v2.20.0/image/measurements.json
|
curl -O https://cdn.confidential.cloud/constellation/v2/ref/-/stream/stable/${{ env.REF }}/image/measurements.json
|
||||||
|
|
||||||
# compare all measurements with our own
|
# compare all measurements with our own
|
||||||
for directory in $buildPath/system/!(mkosi_wrapper.sh); do
|
for directory in $buildPath/system/!(mkosi_wrapper.sh); do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user