Merge pull request #819 from b-ehlers/actions_version

Docker build: Update actions version
This commit is contained in:
Jeremy Grossmann 2023-09-21 11:52:56 +10:00 committed by GitHub
commit f261c0c7e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}