Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Woffenden <[email protected]>
  • Loading branch information
Jacob Woffenden committed Jan 25, 2024
1 parent 64efdce commit 8009b37
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/actions/setup-container-structure-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ inputs:
runs:
using: "composite"
steps:
- name: Set Up Google Container Structure Test
shell: bash
- shell: bash
run: |
if [[ "$(uname -m)" == "x86_64" ]]; then
export architecture="amd64"
Expand All @@ -29,13 +28,18 @@ runs:
export version="${{ inputs.version }}"
fi
mkdir --parents "${GITHUB_WORKSPACE}/.google-container-structure-test"
mkdir --parents "${HOME}/.google-container-structure-test"
curl --location --silent --show-error --fail "https://storage.googleapis.com/container-structure-test/v${version}/container-structure-test-linux-${architecture}" \
--output "${GITHUB_WORKSPACE}/.google-container-structure-test/container-structure-test"
--output "${HOME}/.google-container-structure-test/container-structure-test"
chmod +x "${GITHUB_WORKSPACE}/.google-container-structure-test/container-structure-test"
chmod +x "${HOME}/.google-container-structure-test/container-structure-test"
echo "${GITHUB_WORKSPACE}/.google-container-structure-test" >>"${GITHUB_PATH}"
echo "${HOME}/.google-container-structure-test" >>"${GITHUB_PATH}"
container-structure-test version
## DEBUG
ls -lrt "${HOME}/.google-container-structure-test"
echo "${PATH}"
"${HOME}/.google-container-structure-test/container-structure-test" version
# container-structure-test version

0 comments on commit 8009b37

Please sign in to comment.