Skip to content

Commit 54be5e0

Browse files
committed
github/workflows: Publish arm64 platform variant images
Currently the following packages are published with dedicated tags for arm64 platform variants: * pkg/nvidia * pkg/fw * eve container built with "make eve" For instance, the pkg/nvidia will be tagged like the following: * lfedge/eve-nvidia:14.4.0-nvidia-jp5 * lfedge/eve-nvidia:14.4.0-nvidia-jp6 However, since only PLATFORM=generic is considered while publishing images, the other variants (e.g., nvidia-jp6) are not being taking into account, letting some images unpublished. This commit adds the arm64 platform variants to the publish workflow in order to publish all required images. Signed-off-by: Renê de Souza Pinto <[email protected]>
1 parent e3b02d3 commit 54be5e0

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

.github/workflows/publish.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,21 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
include:
25-
- os: arm64-secure
26-
arch: arm64
2725
- os: ubuntu-22.04
2826
arch: amd64
27+
platform: "generic"
28+
- os: arm64-secure
29+
arch: arm64
30+
platform: "generic"
31+
- os: arm64-secure
32+
arch: arm64
33+
platform: "nvidia-jp5"
34+
- os: arm64-secure
35+
arch: arm64
36+
platform: "nvidia-jp6"
2937
- os: ubuntu-latest
3038
arch: riscv64
39+
platform: "generic"
3140
steps:
3241
- name: Starting Report
3342
run: |
@@ -73,7 +82,7 @@ jobs:
7382
# sadly, our build sometimes times out on network access
7483
# and running out of disk space: re-trying for 3 times
7584
for i in 1 2 3; do
76-
if make -e V=1 LINUXKIT_PKG_TARGET=push PRUNE=1 pkgs; then
85+
if make -e V=1 PLATFORM=${{ matrix.platform }} LINUXKIT_PKG_TARGET=push PRUNE=1 pkgs; then
7786
SUCCESS=true
7887
break
7988
else
@@ -111,16 +120,24 @@ jobs:
111120
matrix:
112121
arch: [arm64, amd64]
113122
hv: [kvm, xen]
123+
platform: ["generic"]
114124
include:
115125
- arch: riscv64
116126
hv: mini
127+
platform: "generic"
128+
- arch: arm64
129+
hv: kvm
130+
platform: "nvidia-jp5"
131+
- arch: arm64
132+
hv: kvm
133+
platform: "nvidia-jp6"
117134
steps:
118135
- uses: actions/checkout@v4
119136
with:
120137
fetch-depth: 0
121138
- uses: ./.github/actions/run-make
122139
with:
123-
command: "V=1 HV=${{ matrix.hv }} ZARCH=${{ matrix.arch }} LINUXKIT_PKG_TARGET=push eve"
140+
command: "V=1 HV=${{ matrix.hv }} ZARCH=${{ matrix.arch }} PLATFORM=${{ matrix.platform }} LINUXKIT_PKG_TARGET=push eve"
124141
dockerhub-token: ${{ secrets.RELEASE_DOCKERHUB_TOKEN }}
125142
dockerhub-account: ${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }}
126143
- uses: ./.github/actions/run-make

0 commit comments

Comments
 (0)