Docker build: Update actions version

This commit is contained in:
Bernhard Ehlers 2023-09-20 13:28:17 +02:00
parent 9a343ba90e
commit dbc07198e3

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