From 66ecda7c7e1d2a60c60b32f6f1173688de81189f Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 24 Jun 2024 05:05:49 +0000
Subject: [PATCH] Bump docker/build-push-action from 5 to 6

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
---
 .github/workflows/publish.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index d885eac7c..2742b1a68 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -214,7 +214,7 @@ jobs:
         cp packages/Brian2*cp312-manylinux*_x86_64.whl dist
         cp packages/Brian2*cp312-manylinux*_aarch64.whl dist
     - name: Build (and potentially push) the Docker image
-      uses: docker/build-push-action@v5
+      uses: docker/build-push-action@v6
       # https://github.com/docker/build-push-action
       with:
         context: .
@@ -227,7 +227,7 @@ jobs:
         labels: ${{ steps.meta.outputs.labels }}
     - name: Push docker image to dev repository
       if: ${{ github.repository == 'brian-team/brian2' && github.event_name == 'push' && !startsWith(github.ref, 'refs/tags') && github.actor != 'dependabot[bot]'}} 
-      uses: docker/build-push-action@v5
+      uses: docker/build-push-action@v6
       with:
         context: .
         file: docker/Dockerfile