diff --git a/.github/workflows/_build-push.yml b/.github/workflows/_build-push.yml index 51ed99a..947e36f 100644 --- a/.github/workflows/_build-push.yml +++ b/.github/workflows/_build-push.yml @@ -114,14 +114,14 @@ jobs: retention-days: 7 - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Login to Docker Hub if: inputs.push_image - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -130,7 +130,7 @@ jobs: # Pushing the same image to multiple registries is free with buildx. - name: Login to GHCR if: inputs.push_image - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} @@ -138,7 +138,7 @@ jobs: - name: Docker metadata id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: # Listing two images here makes metadata-action emit tags for both # registries; build-push-action will then push the same image to @@ -159,7 +159,7 @@ jobs: - name: Build image (PR — single-arch, load locally) if: ${{ !inputs.push_image }} - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: ./src/ file: ${{ inputs.project_path }}/Dockerfile @@ -174,7 +174,7 @@ jobs: - name: Build & push image (main — multi-arch) if: inputs.push_image id: build_push - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: ./src/ file: ${{ inputs.project_path }}/Dockerfile