Skip to content

Commit 0251614

Browse files
HeRaNOvmcj
authored andcommitted
Bump various workflows version
1 parent 58328ea commit 0251614

8 files changed

Lines changed: 35 additions & 38 deletions

.github/workflows/build-contributor-container-PR.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v6
2727

2828
- name: Detect changed files and compute condition
2929
id: filter
@@ -37,15 +37,15 @@ jobs:
3737

3838
- name: Set up QEMU
3939
if: steps.filter.outputs.should_run == 'true'
40-
uses: docker/setup-qemu-action@v3
40+
uses: docker/setup-qemu-action@v4
4141

4242
- name: Set up Docker Buildx
4343
if: steps.filter.outputs.should_run == 'true'
44-
uses: docker/setup-buildx-action@v3
44+
uses: docker/setup-buildx-action@v4
4545

4646
- name: Login to GitHub container registry
4747
if: steps.filter.outputs.should_run == 'true'
48-
uses: docker/login-action@v3
48+
uses: docker/login-action@v4
4949
with:
5050
registry: ghcr.io
5151
username: ${{ github.repository_owner }}
@@ -54,17 +54,16 @@ jobs:
5454
- name: Extract metadata (tags, labels) for Docker
5555
if: steps.filter.outputs.should_run == 'true'
5656
id: meta
57-
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
57+
uses: docker/metadata-action@v6
5858
with:
5959
images: ghcr.io/${{ github.repository }}
6060

6161
- name: Build and push
6262
if: steps.filter.outputs.should_run == 'true'
63-
uses: docker/build-push-action@v5
63+
uses: docker/build-push-action@v7
6464
with:
6565
context: docker-contributor
6666
platforms: linux/amd64,linux/arm64
6767
push: false
6868
tags: ${{ steps.meta.outputs.tags }}
6969
labels: ${{ steps.meta.outputs.labels }}
70-

.github/workflows/build-contributor-container-release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,21 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v6
2121
- name: Set up QEMU
22-
uses: docker/setup-qemu-action@v3
22+
uses: docker/setup-qemu-action@v4
2323
- name: Set up Docker Buildx
24-
uses: docker/setup-buildx-action@v3
24+
uses: docker/setup-buildx-action@v4
2525
- name: Login to Docker Hub
26-
uses: docker/login-action@v3
26+
uses: docker/login-action@v4
2727
with:
2828
username: ${{ secrets.DOCKERHUB_USERNAME }}
2929
password: ${{ secrets.DOCKERHUB_TOKEN }}
3030

3131
- name: Build and push
32-
uses: docker/build-push-action@v5
32+
uses: docker/build-push-action@v7
3333
with:
3434
context: docker-contributor
3535
platforms: linux/amd64,linux/arm64
3636
push: true
3737
tags: domjudge/domjudge-contributor:latest
38-

.github/workflows/build-domjudge-container-PR.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v6
3232

3333
- name: Detect changed files and compute condition
3434
id: filter
@@ -42,15 +42,15 @@ jobs:
4242

4343
- name: Set up QEMU
4444
if: steps.filter.outputs.should_run == 'true'
45-
uses: docker/setup-qemu-action@v3
45+
uses: docker/setup-qemu-action@v4
4646

4747
- name: Set up Docker Buildx
4848
if: steps.filter.outputs.should_run == 'true'
49-
uses: docker/setup-buildx-action@v3
49+
uses: docker/setup-buildx-action@v4
5050

5151
- name: Login to GitHub container registry
5252
if: steps.filter.outputs.should_run == 'true'
53-
uses: docker/login-action@v3
53+
uses: docker/login-action@v4
5454
with:
5555
registry: ghcr.io
5656
username: ${{ github.repository_owner }}
@@ -115,7 +115,7 @@ jobs:
115115

116116
- name: Upload all logs
117117
if: always()
118-
uses: actions/upload-artifact@v4
118+
uses: actions/upload-artifact@v7
119119
with:
120120
name: Logs
121121
path: /tmp/docker-logs

.github/workflows/build-domjudge-container-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v6
3232

3333
- name: Set up QEMU
34-
uses: docker/setup-qemu-action@v3
34+
uses: docker/setup-qemu-action@v4
3535

3636
- name: Set up Docker Buildx
37-
uses: docker/setup-buildx-action@v3
37+
uses: docker/setup-buildx-action@v4
3838

3939
- name: Login to Docker Hub
40-
uses: docker/login-action@v3
40+
uses: docker/login-action@v4
4141
with:
4242
username: ${{ secrets.DOCKERHUB_USERNAME }}
4343
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -83,7 +83,7 @@ jobs:
8383

8484
- name: Upload all logs
8585
if: always()
86-
uses: actions/upload-artifact@v4
86+
uses: actions/upload-artifact@v7
8787
with:
8888
name: Logs
8989
path: /tmp/docker-logs

.github/workflows/build-domjudge-container-snapshot.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1717

1818
- name: Set up QEMU
19-
uses: docker/setup-qemu-action@v3
19+
uses: docker/setup-qemu-action@v4
2020

2121
- name: Set up Docker Buildx
22-
uses: docker/setup-buildx-action@v3
22+
uses: docker/setup-buildx-action@v4
2323

2424
- name: Login to Docker Hub
25-
uses: docker/login-action@v3
25+
uses: docker/login-action@v4
2626
with:
2727
username: ${{ secrets.DOCKERHUB_USERNAME }}
2828
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Upload all logs
4747
if: always()
48-
uses: actions/upload-artifact@v4
48+
uses: actions/upload-artifact@v7
4949
with:
5050
name: Logs
5151
path: /tmp/docker-logs

.github/workflows/build-gitlab-container-PR.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2626

2727
- name: Detect changed files and compute condition
2828
id: filter
@@ -40,7 +40,7 @@ jobs:
4040

4141
- name: Log in to GitHub Container registry (possibly at fork)
4242
if: steps.filter.outputs.should_run == 'true'
43-
uses: docker/login-action@v3
43+
uses: docker/login-action@v4
4444
with:
4545
registry: ghcr.io
4646
username: ${{ github.actor }}
@@ -49,7 +49,7 @@ jobs:
4949
- name: Extract metadata (tags, labels) for Docker
5050
if: steps.filter.outputs.should_run == 'true'
5151
id: meta
52-
uses: docker/metadata-action@v5
52+
uses: docker/metadata-action@v6
5353
with:
5454
images: ghcr.io/${{ github.repository }}
5555

@@ -59,7 +59,7 @@ jobs:
5959

6060
- name: Build and push Docker images
6161
if: steps.filter.outputs.should_run == 'true'
62-
uses: docker/build-push-action@v5
62+
uses: docker/build-push-action@v7
6363
with:
6464
context: "./docker-gitlabci"
6565
push: false

.github/workflows/build-gitlab-container-release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,30 @@ jobs:
1818
contents: read
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2222

2323
- name: Use the same PHP config as the contributor containers
2424
run: cp -r docker-{contributor,gitlabci}/php-config
2525

2626
- name: Log in to Docker Container registry
27-
uses: docker/login-action@v3
27+
uses: docker/login-action@v4
2828
with:
2929
username: ${{ secrets.DOCKERHUB_USERNAME }}
3030
password: ${{ secrets.DOCKERHUB_TOKEN }}
3131

3232
- name: Extract metadata (tags, labels) for Docker
3333
id: meta
34-
uses: docker/metadata-action@v5
34+
uses: docker/metadata-action@v6
3535
with:
3636
images: domjudge/gitlabci
3737

3838
- name: Building an example chroot
3939
run: docker-gitlabci/build_ci_chroot.sh
4040

4141
- name: Build and push Docker images
42-
uses: docker/build-push-action@v5
42+
uses: docker/build-push-action@v7
4343
with:
4444
context: "./docker-gitlabci"
4545
push: true
4646
tags: "domjudge/gitlabci:24.04"
4747
labels: ${{ steps.meta.outputs.labels }}
48-

.github/workflows/shellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
runs-on: ubuntu-latest
1313
if: ${{ !(github.repository == 'domjudge/domjudge-packaging' && github.ref_name == 'main') }}
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v6
1616
- name: Run ShellCheck
1717
uses: ludeeus/action-shellcheck@master

0 commit comments

Comments
 (0)