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:
|
||||
- name: Check out repository code
|
||||
# https://github.com/marketplace/actions/checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up 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
|
||||
# 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
|
||||
# https://github.com/marketplace/actions/docker-login
|
||||
# set the condition depending on whether you want to login to Docker.
|
||||
if: true
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
@ -51,7 +51,7 @@ jobs:
|
||||
# https://github.com/marketplace/actions/docker-login
|
||||
# set the condition depending on whether you want to login to ghcr.io.
|
||||
if: true
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
|
Loading…
Reference in New Issue
Block a user