Skip to content

Commit af0efd5

Browse files
committed
Switch to action for supported platforms
1 parent cd9a794 commit af0efd5

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,18 @@ jobs:
77
supported-arch-matrix:
88
name: Supported processor architectures
99
runs-on: ubuntu-latest
10-
needs:
11-
- lint-dockerfile
1210
outputs:
13-
arch: ${{ steps.supported-arch-matrix.outputs.arch }}
11+
arch: ${{ steps.supported-arch-matrix.outputs.platform }}
1412
steps:
1513
- uses: actions/checkout@v4
14+
with:
15+
sparse-checkout: |
16+
Dockerfile
1617
- id: supported-arch-matrix
1718
name: Generate Arch
18-
run: |
19-
echo "arch=[\"linux/amd64\",\"linux/arm64\"]" >> $GITHUB_OUTPUT
19+
uses: wyrihaximus/github-action-oci-image-supported-archs@initial-implementation
20+
# run: |
21+
# echo "arch=[\"linux/amd64\",\"linux/arm64\"]" >> $GITHUB_OUTPUT
2022
lint-dockerfile:
2123
name: Lint Dockerfile
2224
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)