diff --git a/action.yml b/action.yml index 58214a8..95652f1 100644 --- a/action.yml +++ b/action.yml @@ -27,8 +27,12 @@ runs: steps: + - name: Set cosign installer version + id: set_version + run: echo "COSIGN_INSTALLER_VERSION=${{ inputs.cosign-installer-version }}" >> $GITHUB_ENV + - name: Install Cosign - uses: sigstore/cosign-installer@${{ inputs.cosign-installer-version }} + uses: sigstore/cosign-installer@${{ env.COSIGN_INSTALLER_VERSION }} - name: Sign image with a key env: