mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-24 06:56:41 +00:00
Docker build: Update actions version
This commit is contained in:
parent
9a343ba90e
commit
dbc07198e3
10
.github/workflows/build-docker-images.yml
vendored
10
.github/workflows/build-docker-images.yml
vendored
@ -26,23 +26,23 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
# https://github.com/marketplace/actions/checkout
|
# https://github.com/marketplace/actions/checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
# https://github.com/marketplace/actions/docker-setup-qemu
|
# https://github.com/marketplace/actions/docker-setup-qemu
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
# https://github.com/marketplace/actions/docker-setup-buildx
|
# https://github.com/marketplace/actions/docker-setup-buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Login to DockerHub Registry
|
- name: Login to DockerHub Registry
|
||||||
# https://github.com/marketplace/actions/docker-login
|
# https://github.com/marketplace/actions/docker-login
|
||||||
# set the condition depending on whether you want to login to Docker.
|
# set the condition depending on whether you want to login to Docker.
|
||||||
if: true
|
if: true
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
@ -51,7 +51,7 @@ jobs:
|
|||||||
# https://github.com/marketplace/actions/docker-login
|
# https://github.com/marketplace/actions/docker-login
|
||||||
# set the condition depending on whether you want to login to ghcr.io.
|
# set the condition depending on whether you want to login to ghcr.io.
|
||||||
if: true
|
if: true
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
|
Loading…
Reference in New Issue
Block a user