Skip to content

Commit b642b61

Browse files
authored
Merge pull request #18 from embeddedcontainers/fix/workflow-warnings
ci: add missing xtensa-amd_acp_7_3 toolchain and enable provenance attestation
2 parents 163cdc5 + 64ad4e1 commit b642b61

1 file changed

Lines changed: 16 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
permissions:
1414
contents: read
1515
packages: write
16+
attestations: write
17+
id-token: write
1618

1719
strategy:
1820
matrix:
@@ -41,7 +43,7 @@ jobs:
4143
file: ./zephyr-base/Dockerfile
4244
push: ${{ github.event_name != 'pull_request' }}
4345
platforms: linux/amd64,linux/arm64
44-
provenance: false
46+
provenance: true
4547
tags: ghcr.io/${{ github.repository_owner }}/zephyr:base-${{ matrix.sdk }}SDK
4648
cache-from: type=gha,scope=zephyr-base-${{ matrix.sdk }}
4749
cache-to: type=gha,mode=max,scope=zephyr-base-${{ matrix.sdk }}
@@ -56,6 +58,8 @@ jobs:
5658
permissions:
5759
contents: read
5860
packages: write
61+
attestations: write
62+
id-token: write
5963

6064
strategy:
6165
matrix:
@@ -78,6 +82,10 @@ jobs:
7882
},
7983
{
8084
arch: "xtensa-amd_acp_7_0_adsp_zephyr-elf",
85+
nick: "xtensa-amd_acp_7_0_adsp",
86+
},
87+
{
88+
arch: "xtensa-amd_acp_7_3_adsp_zephyr-elf",
8189
nick: "xtensa-amd_acp_7_3_adsp",
8290
},
8391
{ arch: "xtensa-dc233c_zephyr-elf", nick: "xtensa-dc233c" },
@@ -182,7 +190,7 @@ jobs:
182190
file: ./zephyr/Dockerfile
183191
push: ${{ github.event_name != 'pull_request' }}
184192
platforms: linux/amd64,linux/arm64
185-
provenance: false
193+
provenance: true
186194
tags: ghcr.io/${{ github.repository_owner }}/zephyr:${{ matrix.toolchain.nick }}-${{ matrix.sdk }}SDK
187195
cache-from: type=gha,scope=zephyr-arch-${{ matrix.sdk }}-${{ matrix.toolchain.nick }}
188196
cache-to: type=gha,mode=max,scope=zephyr-arch-${{ matrix.sdk }}-${{ matrix.toolchain.nick }}
@@ -199,6 +207,8 @@ jobs:
199207
permissions:
200208
contents: read
201209
packages: write
210+
attestations: write
211+
id-token: write
202212

203213
strategy:
204214
matrix:
@@ -227,7 +237,7 @@ jobs:
227237
file: ./zephyr/Dockerfile
228238
push: ${{ github.event_name != 'pull_request' }}
229239
platforms: linux/amd64,linux/arm64
230-
provenance: false
240+
provenance: true
231241
tags: ghcr.io/${{ github.repository_owner }}/zephyr:llvm-${{ matrix.sdk }}SDK
232242
cache-from: type=gha,scope=zephyr-llvm-${{ matrix.sdk }}
233243
cache-to: type=gha,mode=max,scope=zephyr-llvm-${{ matrix.sdk }}
@@ -244,6 +254,8 @@ jobs:
244254
permissions:
245255
contents: read
246256
packages: write
257+
attestations: write
258+
id-token: write
247259

248260
strategy:
249261
matrix:
@@ -272,7 +284,7 @@ jobs:
272284
file: ./zephyr-posix/Dockerfile
273285
push: ${{ github.event_name != 'pull_request' }}
274286
platforms: linux/amd64
275-
provenance: false
287+
provenance: true
276288
tags: ghcr.io/${{ github.repository_owner }}/zephyr:posix-${{ matrix.sdk }}SDK
277289
cache-from: type=gha,scope=zephyr-posix-${{ matrix.sdk }}
278290
cache-to: type=gha,mode=max,scope=zephyr-posix-${{ matrix.sdk }}

0 commit comments

Comments
 (0)