github: Upgrade the docker actions to the latest version

This avoids warnings about the actions targeting Node 20.

There is no easily available documentation about whether there are
any other API changes in the newer versions of these actions - in
particular the bump of build-push-action which advances by two
versions.
This commit is contained in:
Martin Storsjö committed 2026-08-03 10:05:30 +03:00
1 parent 327d1a081c
commit 34f111adcb
2 files changed
+7 -7

No files matched your search

+6 -6
View File
@@ -44,12 +44,12 @@ jobs:
ref: ${{inputs.ref}}
- name: Log in to Docker Hub
if: ${{inputs.login}}
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{vars.DOCKER_USERNAME}}
password: ${{secrets.DOCKER_PASSWORD}}
- name: Build Docker images
uses: docker/build-push-action@v5
uses: docker/build-push-action@v7
with:
context: .
push: ${{inputs.push}}
@@ -79,17 +79,17 @@ jobs:
name_is_regexp: true
path: toolchain
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4
- name: Log in to Docker Hub
if: ${{inputs.login}}
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{vars.DOCKER_USERNAME}}
password: ${{secrets.DOCKER_PASSWORD}}
- name: Build Docker images
uses: docker/build-push-action@v5
uses: docker/build-push-action@v7
with:
context: .
platforms: linux/amd64,linux/arm64
+1 -1
View File
@@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Build Docker images
uses: docker/build-push-action@v5
uses: docker/build-push-action@v7
with:
context: .
push: false