Skip to content

Commit d8e4d53

Browse files
committed
gha: bumps, use GH arm runners for arm64, adapt to artifact@v4
1 parent 30edcac commit d8e4d53

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/main-latest.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
strategy:
3030
fail-fast: false # let other jobs try to complete if one fails
3131
matrix:
32-
arch: [ { name: 'amd64', runner: 'ubuntu-latest' } , { name: 'arm64', runner: [ "self-hosted", "ARM64" ] } ]
32+
arch: [ { name: 'amd64', runner: 'ubuntu-latest' } , { name: 'arm64', runner: 'ubuntu-24.04-arm' } ]
3333
distro: [ 'ubuntu:noble', 'debian:bookworm', 'debian:trixie' ]
3434
steps:
3535

3636
- name: Checkout
37-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
3838

3939
- name: Set up QEMU
4040
uses: docker/setup-qemu-action@v3
@@ -44,7 +44,7 @@ jobs:
4444
uses: docker/setup-buildx-action@v3
4545

4646
- name: Build ${{ matrix.arch.name }} ${{ matrix.distro }}
47-
uses: docker/build-push-action@v3
47+
uses: docker/build-push-action@v6
4848
timeout-minutes: 180
4949
with:
5050
context: .
@@ -65,15 +65,15 @@ jobs:
6565
run: docker cp $(docker create --rm k8s-worker-containerd:${{ matrix.arch.name }}):/out ./
6666

6767
- name: Upload deb as artifact ${{ matrix.arch.name }} ${{ matrix.distro }}
68-
uses: actions/upload-artifact@v3
68+
uses: actions/upload-artifact@v4
6969
with:
70-
name: deb
70+
name: deb-${{ matrix.arch.name }}-${{ matrix.distro }}
7171
path: out/*.deb
7272

7373
- name: Upload tarball as artifact ${{ matrix.arch.name }} ${{ matrix.distro }}
74-
uses: actions/upload-artifact@v3
74+
uses: actions/upload-artifact@v4
7575
with:
76-
name: tarball
76+
name: tarball-${{ matrix.arch.name }}-${{ matrix.distro }}
7777
path: out/*.tar.gz
7878

7979

@@ -83,16 +83,18 @@ jobs:
8383
runs-on: ubuntu-latest
8484
steps:
8585
# Download the built artifacts from GH artifacts.
86-
- uses: actions/download-artifact@v3
86+
- uses: actions/download-artifact@v4
8787
name: Download deb artifacts
8888
with:
89-
name: deb
89+
pattern: deb-*
90+
merge-multiple: true
9091
path: out
9192

92-
- uses: actions/download-artifact@v3
93+
- uses: actions/download-artifact@v4
9394
name: Download tarball artifacts
9495
with:
95-
name: tarball
96+
pattern: tarball-*
97+
merge-multiple: true
9698
path: out
9799

98100
- name: List artifacts downloaded

0 commit comments

Comments
 (0)