From ae37af7f5111587c882c7b136596335c132b5f3d Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia Date: Fri, 8 Nov 2024 08:44:45 +0100 Subject: [PATCH] Improve docker multiplatform build condition. --- .github/workflows/docker-hub-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-hub-platform.yml b/.github/workflows/docker-hub-platform.yml index 967159ff5..f9e97096b 100644 --- a/.github/workflows/docker-hub-platform.yml +++ b/.github/workflows/docker-hub-platform.yml @@ -124,7 +124,7 @@ jobs: password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} - name: Create manifest list and push - if: github.ref != 'refs/heads/develop' + if: github.ref == 'refs/heads/master' || contains(github.ref, 'refs/tags/') run: | for tag in "deps" "dev" "runtime" "cli"; do cd "/tmp/digests/${tag}"