Skip to content

Commit bd94591

Browse files
authored
Bump GitHub actions versions (#216)
* bump github actions versions * address github actions skopeo issues * also configure unprivileged containers in KVM e2e test --------- Signed-off-by: Angelos Kolaitis <neoaggelos@gmail.com>
1 parent e3a79d8 commit bd94591

10 files changed

Lines changed: 30 additions & 24 deletions

File tree

.github/workflows/build-haproxy-images.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }}
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v6
2424

2525
- name: Setup Go
26-
uses: actions/setup-go@v5
26+
uses: actions/setup-go@v6
2727
with:
2828
go-version-file: go.mod
2929

@@ -42,7 +42,7 @@ jobs:
4242
--output=haproxy-${{ matrix.base }}-${{ matrix.arch }}.tar.gz
4343
4444
- name: Release image
45-
uses: softprops/action-gh-release@v2
45+
uses: softprops/action-gh-release@v3
4646
with:
4747
name: Kubeadm images
4848
tag_name: kubeadm-images

.github/workflows/build-kubeadm-images.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }}
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v6
3434

3535
- name: Setup Go
36-
uses: actions/setup-go@v5
36+
uses: actions/setup-go@v6
3737
with:
3838
go-version-file: go.mod
3939

@@ -55,7 +55,7 @@ jobs:
5555
--output=kubeadm-${{ inputs.version }}-${{ matrix.type }}-${{ matrix.base }}-${{ matrix.arch }}.tar.gz
5656
5757
- name: Release image
58-
uses: softprops/action-gh-release@v2
58+
uses: softprops/action-gh-release@v3
5959
with:
6060
name: Kubeadm images
6161
tag_name: kubeadm-images

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v6
3131
- name: Setup Pages
32-
uses: actions/configure-pages@v5
32+
uses: actions/configure-pages@v6
3333
- name: Build book
3434
run: make build
3535
working-directory: docs/book
3636
- name: Upload artifact
37-
uses: actions/upload-pages-artifact@v3
37+
uses: actions/upload-pages-artifact@v5
3838
with:
3939
path: docs/book/book
4040

@@ -48,4 +48,4 @@ jobs:
4848
steps:
4949
- name: Deploy to GitHub Pages
5050
id: deployment
51-
uses: actions/deploy-pages@v4
51+
uses: actions/deploy-pages@v5

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
packages: write # for publishing docker images
1616
steps:
1717
- name: Check out code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919

2020
- name: Login
2121
run: |
@@ -29,7 +29,7 @@ jobs:
2929
run: make dist TAG=${{ github.ref_name }}
3030

3131
- name: Create GitHub Release
32-
uses: softprops/action-gh-release@v2
32+
uses: softprops/action-gh-release@v3
3333
with:
3434
name: 'Release ${{ github.ref_name }}'
3535
tag_name: ${{ github.ref_name }}

.github/workflows/test-e2e-conformance.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }}
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2222

2323
- name: Setup Go
24-
uses: actions/setup-go@v5
24+
uses: actions/setup-go@v6
2525
with:
2626
go-version-file: go.mod
2727

@@ -41,7 +41,7 @@ jobs:
4141
run: make test-conformance
4242

4343
- name: Upload e2e artifacts
44-
uses: actions/upload-artifact@v4
44+
uses: actions/upload-artifact@v7
4545
if: always()
4646
with:
4747
name: artifacts-${{ matrix.infrastructure }}-${{ matrix.arch }}

.github/workflows/test-e2e-full.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }}
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v6
2121

2222
- name: Setup Go
23-
uses: actions/setup-go@v5
23+
uses: actions/setup-go@v6
2424
with:
2525
go-version-file: go.mod
2626

@@ -40,7 +40,7 @@ jobs:
4040
run: make test-e2e
4141

4242
- name: Upload e2e artifacts
43-
uses: actions/upload-artifact@v4
43+
uses: actions/upload-artifact@v7
4444
if: always()
4545
with:
4646
name: artifacts-${{ matrix.infrastructure }}-${{ matrix.arch }}

.github/workflows/test-e2e-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }}
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818

1919
- name: Setup Go
20-
uses: actions/setup-go@v5
20+
uses: actions/setup-go@v6
2121
with:
2222
go-version-file: go.mod
2323

@@ -37,7 +37,7 @@ jobs:
3737
run: make test-e2e E2E_GINKGO_ARGS=--label-filter=PRBlocking
3838

3939
- name: Upload e2e artifacts
40-
uses: actions/upload-artifact@v4
40+
uses: actions/upload-artifact@v7
4141
if: always()
4242
with:
4343
name: artifacts-${{ matrix.infrastructure }}-${{ matrix.arch }}

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v6
1515

1616
- name: Setup Go
17-
uses: actions/setup-go@v5
17+
uses: actions/setup-go@v6
1818
with:
1919
go-version-file: go.mod
2020

hack/scripts/ci/setup-github-actions.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,10 @@ if [ "${GITHUB_ACTIONS:=}" == "true" ]; then
6060

6161
# Print available space after cleanup
6262
df -h /
63+
64+
# NOTE(neoaggelos/2026-06-06): /etc/containers/registries.conf uses v1 config format, which breaks
65+
# skopeo 1.23.0. Example error:
66+
# failed to wait for PullImage operation: Failed getting remote image info: Failed to run: skopeo --insecure-policy inspect docker://docker.io/kindest/node:v1.35.0 --no-tags: exit status 1 (time=\"2026-06-06T12:27:40Z\" level=fatal msg=\"Error parsing image name \\\"docker://docker.io/kindest/node:v1.35.0\\\": loading registries configuration: loading registries configuration \\\"/etc/containers/registries.conf\\\": registries.conf must be in v2 format but is in v1\")
67+
cat /etc/containers/registries.conf
68+
sudo rm /etc/containers/registries.conf
6369
fi

test/e2e/suites/e2e/quick_start_kvm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ var _ = Describe("QuickStart", func() {
7373
WorkerMachineCount: new(int64(1)),
7474
ClusterName: new(fmt.Sprintf("capn-kvm-unprivileged-%s", util.RandomString(4))),
7575

76-
ClusterctlVariables: map[string]string{"PRIVILEGED": "false"},
76+
ClusterctlVariables: e2eCtx.UnprivilegedContainersClusterVariables(),
7777
}
7878
})
7979
})

0 commit comments

Comments
 (0)