e2e: Use default shell parameters

This commit is contained in:
katexochen 2022-09-02 12:44:51 +02:00 committed by Paul Meyer
parent 0c5c11e8b7
commit b256222b42
4 changed files with 2 additions and 8 deletions

View File

@ -73,8 +73,6 @@ runs:
if: ${{ inputs.cosignPublicKey != '' && inputs.cosignPrivateKey != '' && inputs.cosignPassword != '' }}
- name: Sign CLI
run: |
set -e
set -o pipefail
SIGN_TARGET=constellation-${{ inputs.targetOS }}-${{ inputs.targetArch }}
echo "$COSIGN_PUBLIC_KEY" > cosign.pub
# Enabling experimental mode also publishes signature to Rekor

View File

@ -77,8 +77,6 @@ runs:
if: ${{ inputs.cosignPublicKey != '' && inputs.cosignPrivateKey != '' && inputs.cosignPassword != '' }}
- name: Sign measurements
run: |
set -e
set -o pipefail
echo "$COSIGN_PUBLIC_KEY" > cosign.pub
# Enabling experimental mode also publishes signature to Rekor
COSIGN_EXPERIMENTAL=1 cosign sign-blob --key env://COSIGN_PRIVATE_KEY measurements.yaml > measurements.yaml.sig

View File

@ -29,8 +29,6 @@ runs:
- name: get pseudo version
id: pseudo-version
run: |
set -e
set -o pipefail
if $(git rev-parse --is-shallow-repository); then
git fetch --prune --unshallow --tags -v
else
@ -52,4 +50,4 @@ runs:
echo "::set-output name=branchName::${branchName}"
echo "::set-output name=releaseVersion::${releaseVersion}"
working-directory: hack/pseudo-version
shell: bash {0}
shell: bash

View File

@ -114,7 +114,7 @@ jobs:
- name: Build and Upload
id: build-and-upload
shell: bash {0}
shell: bash
run: |
make cosa-image
make -j$(nproc) CONTAINER_ENGINE=docker NETRC=/tmp/.netrc \