From e849388f2a7fb72835780ebe1eb6f22ebe778784 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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f67b70e..4b02a2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,13 +10,17 @@ jobs: 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