From 85d1bb67256db23f7e7949ba147d314c5469026b Mon Sep 17 00:00:00 2001 From: Marcel Stimberg Date: Thu, 7 Mar 2024 18:17:52 +0100 Subject: [PATCH] Only push tags to docker hub --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e90f131a5..8d1620bd0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -185,6 +185,6 @@ jobs: build-args: | 'BASE_IMAGE_TAG=3.12-bookworm' platforms: 'amd64,arm64' - push: true + push: github.repository == 'brian-team/brian2' && startsWith(github.ref, 'refs/tags') tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}