Skip to content

Commit d4809c2

Browse files
authored
ci: update docker actions to resolve Node.js 20 deprecation
Bumps the following actions to their latest major versions to ensure compatibility with the Node.js 24 runtime requirement: - docker/setup-buildx-action from v3 to v4 - docker/login-action from v3 to v4 - docker/build-push-action from v6 to v7
1 parent 5879ae9 commit d4809c2

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,23 +61,23 @@ jobs:
6161
image: tonistiigi/binfmt:qemu-v10.2.1-65
6262

6363
- name: Set up Docker Buildx
64-
uses: docker/setup-buildx-action@v3
64+
uses: docker/setup-buildx-action@v4
6565

6666
- name: Login to GHCR
67-
uses: docker/login-action@v3
67+
uses: docker/login-action@v4
6868
with:
6969
registry: ghcr.io
7070
username: ${{ github.actor }}
7171
password: ${{ secrets.GITHUB_TOKEN }}
7272

7373
- name: Login to DockerHub
74-
uses: docker/login-action@v3
74+
uses: docker/login-action@v4
7575
with:
7676
username: ${{ secrets.DOCKERHUB_USERNAME }}
7777
password: ${{ secrets.DOCKERHUB_TOKEN }}
7878

7979
- name: Build and push ${{ matrix.tag }}
80-
uses: docker/build-push-action@v6
80+
uses: docker/build-push-action@v7
8181
with:
8282
context: ${{ matrix.build_dir }}
8383
file: ${{ matrix.build_dir }}/${{ matrix.dockerfile }}
@@ -99,20 +99,20 @@ jobs:
9999
packages: write
100100
steps:
101101
- name: Login to GHCR
102-
uses: docker/login-action@v3
102+
uses: docker/login-action@v4
103103
with:
104104
registry: ghcr.io
105105
username: ${{ github.actor }}
106106
password: ${{ secrets.GITHUB_TOKEN }}
107107

108108
- name: Login to DockerHub
109-
uses: docker/login-action@v3
109+
uses: docker/login-action@v4
110110
with:
111111
username: ${{ secrets.DOCKERHUB_USERNAME }}
112112
password: ${{ secrets.DOCKERHUB_TOKEN }}
113113

114114
- name: Set up Docker Buildx
115-
uses: docker/setup-buildx-action@v3
115+
uses: docker/setup-buildx-action@v4
116116

117117
- name: Merge and push mainline-alpine manifest
118118
run: |

0 commit comments

Comments
 (0)