From d4084a8d4517d4957c0ea242d6685048df38b5f6 Mon Sep 17 00:00:00 2001 From: Daniil Palagin Date: Tue, 22 Oct 2024 11:51:28 +0200 Subject: [PATCH] [#21] Github actions for dependbot skip to push image --- .github/workflows/docker-image.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 336719d..fc63014 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -26,6 +26,7 @@ jobs: run: echo "${{ github.token }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin - name: Push image + if: ${{ github.actor != 'dependabot[bot]' }} run: | IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/$IMAGE_NAME # Change all uppercase to lowercase