Skip to content

Commit

Permalink
Fix errors found in testing
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: Kyle Harding <[email protected]>
  • Loading branch information
klutchell committed Apr 23, 2024
1 parent 67f104e commit b1637b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ runs:
uses: ./
- name: Print skopeo version
shell: bash
run: skopeo version
run: skopeo --version
8 changes: 5 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,16 @@ runs:
- name: Download skopeo
if: steps.cache.outputs.cache-hit != true
working-directory: ${{ runner.temp }}/skopeo
working-directory: ${{ runner.temp }}
shell: bash --noprofile --norc -eo pipefail -x {0}
env:
REPO: lework/skopeo-binary
VERSION: ${{ steps.latest.outputs.release || inputs.cli-version }}
VERSION: ${{ steps.latest.outputs.release || inputs.version }}
OS: ${{ steps.os.outputs.target }}
ARCH: ${{ steps.arch.outputs.target }}
run: |
mkdir -p skopeo
cd skopeo
curl -fsSL "https://github.com/${REPO}/releases/download/${VERSION}/skopeo-${OS}-${ARCH}" -o skopeo
chmod +x skopeo
Expand All @@ -81,4 +83,4 @@ runs:
- name: Print skopeo version
shell: bash
working-directory: ${{ runner.temp }}
run: skopeo version
run: skopeo --version

0 comments on commit b1637b7

Please sign in to comment.