Skip to content

Commit

Permalink
fix(action): export environment variable AQUA_DISABLE_COSIGN and AQUA…
Browse files Browse the repository at this point in the history
…_DISABLE_SLSA (#607)
  • Loading branch information
suzuki-shunsuke committed Mar 20, 2024
1 parent abf50d7 commit fd2089d
Showing 1 changed file with 6 additions and 4 deletions.
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

0 comments on commit fd2089d

Please sign in to comment.