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:
1 parent
327d1a081c
commit
34f111adcb
2 files changed
+7
-7
No files matched your search
@@ -44,12 +44,12 @@ jobs:
|
|||||||
ref: ${{inputs.ref}}
|
ref: ${{inputs.ref}}
|
||||||
- name: Log in to Docker Hub
|
- name: Log in to Docker Hub
|
||||||
if: ${{inputs.login}}
|
if: ${{inputs.login}}
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v4
|
||||||
with:
|
with:
|
||||||
username: ${{vars.DOCKER_USERNAME}}
|
username: ${{vars.DOCKER_USERNAME}}
|
||||||
password: ${{secrets.DOCKER_PASSWORD}}
|
password: ${{secrets.DOCKER_PASSWORD}}
|
||||||
- name: Build Docker images
|
- name: Build Docker images
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: ${{inputs.push}}
|
push: ${{inputs.push}}
|
||||||
@@ -79,17 +79,17 @@ jobs:
|
|||||||
name_is_regexp: true
|
name_is_regexp: true
|
||||||
path: toolchain
|
path: toolchain
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v4
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v4
|
||||||
- name: Log in to Docker Hub
|
- name: Log in to Docker Hub
|
||||||
if: ${{inputs.login}}
|
if: ${{inputs.login}}
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v4
|
||||||
with:
|
with:
|
||||||
username: ${{vars.DOCKER_USERNAME}}
|
username: ${{vars.DOCKER_USERNAME}}
|
||||||
password: ${{secrets.DOCKER_PASSWORD}}
|
password: ${{secrets.DOCKER_PASSWORD}}
|
||||||
- name: Build Docker images
|
- name: Build Docker images
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- name: Build Docker images
|
- name: Build Docker images
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: false
|
push: false
|
||||||
|
|||||||
Reference in new issue
Block a user