Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(action): export environment variable AQUA_DISABLE_COSIGN and AQUA_DISABLE_SLSA #607

Merged
merged 1 commit into from
Mar 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ runs:
shell: bash
if: inputs.aqua_version == ''

# TODO remove this step. https://github.com/aquaproj/aqua/issues/1665
- run: |
echo "AQUA_DISABLE_COSIGN=true" >> "$GITHUB_ENV"
echo "AQUA_DISABLE_SLSA=true" >> "$GITHUB_ENV"
shell: bash

- run: echo "${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin" >> $GITHUB_PATH
shell: bash
working-directory: ${{ inputs.working_directory }}
Expand Down Expand Up @@ -143,8 +149,6 @@ runs:
shell: bash
env:
AQUA_VERSION: ${{ inputs.aqua_version }}
AQUA_DISABLE_COSIGN: "true" # TODO remove this line. https://github.com/aquaproj/aqua/issues/1665
AQUA_DISABLE_SLSA: "true" # TODO remove this line. https://github.com/aquaproj/aqua/issues/1665

- run: aqua policy allow
working-directory: ${{ inputs.working_directory }}
Expand All @@ -164,5 +168,3 @@ runs:
shell: bash
env:
AQUA_OPTS: ${{ inputs.aqua_opts }}
AQUA_DISABLE_COSIGN: "true" # TODO remove this line. https://github.com/aquaproj/aqua/issues/1665
AQUA_DISABLE_SLSA: "true" # TODO remove this line. https://github.com/aquaproj/aqua/issues/1665