From af0efd5da9a7af43087762d838d7e1ef2208b4a9 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Sun, 8 Dec 2024 21:41:40 +0100 Subject: [PATCH] Switch to action for supported platforms --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f67b70e..25b9220 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,16 +7,18 @@ jobs: supported-arch-matrix: name: Supported processor architectures runs-on: ubuntu-latest - needs: - - lint-dockerfile outputs: - arch: ${{ steps.supported-arch-matrix.outputs.arch }} + arch: ${{ steps.supported-arch-matrix.outputs.platform }} steps: - uses: actions/checkout@v4 + with: + sparse-checkout: | + Dockerfile - id: supported-arch-matrix name: Generate Arch - run: | - echo "arch=[\"linux/amd64\",\"linux/arm64\"]" >> $GITHUB_OUTPUT + uses: wyrihaximus/github-action-oci-image-supported-archs@initial-implementation +# run: | +# echo "arch=[\"linux/amd64\",\"linux/arm64\"]" >> $GITHUB_OUTPUT lint-dockerfile: name: Lint Dockerfile runs-on: ubuntu-latest