mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-13 00:19:32 -05:00
Set working-directory to build for rekor-cli download
This commit is contained in:
parent
45ee84965f
commit
9da3078445
3
.github/actions/build_cli/action.yml
vendored
3
.github/actions/build_cli/action.yml
vendored
@ -75,12 +75,15 @@ runs:
|
|||||||
- name: Install Cosign
|
- name: Install Cosign
|
||||||
uses: sigstore/cosign-installer@48866aa521d8bf870604709cd43ec2f602d03ff2
|
uses: sigstore/cosign-installer@48866aa521d8bf870604709cd43ec2f602d03ff2
|
||||||
if: ${{ inputs.cosignPublicKey != '' && inputs.cosignPrivateKey != '' && inputs.cosignPassword != '' }}
|
if: ${{ inputs.cosignPublicKey != '' && inputs.cosignPrivateKey != '' && inputs.cosignPassword != '' }}
|
||||||
|
|
||||||
- name: Install Rekor
|
- name: Install Rekor
|
||||||
run: |
|
run: |
|
||||||
curl -sLO https://github.com/sigstore/rekor/releases/download/v0.9.0/rekor-cli-linux-amd64
|
curl -sLO https://github.com/sigstore/rekor/releases/download/v0.9.0/rekor-cli-linux-amd64
|
||||||
sudo install rekor-cli-linux-amd64 /usr/local/bin/rekor-cli
|
sudo install rekor-cli-linux-amd64 /usr/local/bin/rekor-cli
|
||||||
shell: bash
|
shell: bash
|
||||||
|
working-directory: build
|
||||||
if: ${{ inputs.cosignPublicKey != '' && inputs.cosignPrivateKey != '' && inputs.cosignPassword != '' }}
|
if: ${{ inputs.cosignPublicKey != '' && inputs.cosignPrivateKey != '' && inputs.cosignPassword != '' }}
|
||||||
|
|
||||||
- name: Sign CLI
|
- name: Sign CLI
|
||||||
run: |
|
run: |
|
||||||
SIGN_TARGET=constellation-${{ inputs.targetOS }}-${{ inputs.targetArch }}
|
SIGN_TARGET=constellation-${{ inputs.targetOS }}-${{ inputs.targetArch }}
|
||||||
|
Loading…
Reference in New Issue
Block a user