From b261c727f6d2e5159f9ba4b48a33516ef9682cb3 Mon Sep 17 00:00:00 2001 From: Yash Bagarka Date: Wed, 8 Nov 2023 14:48:24 +0000 Subject: [PATCH] docker login only in case of branch build Signed-off-by: Yash Bagarka --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1812d1505516e..2ff6b4ea8ebce 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,6 +27,7 @@ jobs: make -f Makefile.eve BRANCH?=${GITHUB_REF##*/} kernel-gcc - name: Log in to Docker Hub + if: github.ref == 'refs/heads/eve-kernel-amd64-v6.1.38-generic' uses: docker/login-action@v3 with: username: ${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }}