diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 2d16786..da29847 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -7,4 +7,4 @@ runs: uses: ./ - name: Print skopeo version shell: bash - run: skopeo version + run: skopeo --version diff --git a/.github/workflows/flowzone.yml b/.github/workflows/flowzone.yml index 9d7b263..82128f4 100644 --- a/.github/workflows/flowzone.yml +++ b/.github/workflows/flowzone.yml @@ -26,5 +26,5 @@ jobs: with: custom_test_matrix: > { - os: ["ubuntu-latest", "windows-latest", "macos-latest", "actuated-arm64-1cpu-2gb"] + os: ["ubuntu-latest", "macos-latest", "actuated-arm64-1cpu-2gb"] } diff --git a/action.yml b/action.yml index b9ec79d..a794170 100644 --- a/action.yml +++ b/action.yml @@ -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 @@ -81,4 +83,4 @@ runs: - name: Print skopeo version shell: bash working-directory: ${{ runner.temp }} - run: skopeo version + run: skopeo --version