From 84822e5fe5d22de0d260e5ce6508474ed6969770 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Mon, 15 Apr 2024 21:43:19 +0200 Subject: [PATCH] try new action build file #888 --- .github/workflows/build.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 784e73ef..b1adfcfe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -119,29 +119,29 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: name: pigallery2-release path: pigallery2-release - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_PASSWORD }} - name: Build docker - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . file: docker/${{ matrix.container }}/Dockerfile.build platforms: ${{ matrix.platforms }} - name: Push experimental if: ${{ github.ref == 'refs/heads/experimental' }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . file: docker/${{ matrix.container }}/Dockerfile.build @@ -151,7 +151,7 @@ jobs: - name: Push edge on new master commit # github.ref: branches the format is refs/heads/ PRs and Tags are different if: ${{github.ref == 'refs/heads/master' }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . file: docker/${{ matrix.container }}/Dockerfile.build @@ -160,7 +160,7 @@ jobs: tags: bpatrik/pigallery2:edge-${{ matrix.container }} - name: Push release on new Tag if: ${{ startsWith(github.ref_type , 'tag') && !github.event.issue.pull_request && matrix.container != 'debian-bullseye'}} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . file: docker/${{ matrix.container }}/Dockerfile.build @@ -172,7 +172,7 @@ jobs: bpatrik/pigallery2:latest-${{ matrix.container }} - name: Push latest on new Tag if: ${{ startsWith(github.ref_type, 'tag') && !github.event.issue.pull_request && matrix.container == 'debian-bullseye'}} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . file: docker/${{ matrix.container }}/Dockerfile.build