Skip to content

Commit 9e56c35

Browse files
committed
Do not push to GHCR.io for dependabot
1 parent 044aa13 commit 9e56c35

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
uses: docker/setup-buildx-action@v3
6767

6868
- name: Log in to GHCR
69-
if: github.event_name != 'pull_request'
69+
if: github.event_name != 'pull_request' && github.actor != 'dependabot[bot]'
7070
uses: docker/login-action@v3
7171
with:
7272
registry: ghcr.io
@@ -89,7 +89,7 @@ jobs:
8989
with:
9090
context: .
9191
platforms: linux/amd64,linux/arm64
92-
push: ${{ github.event_name != 'pull_request' && !env.ACT }}
92+
push: ${{ github.event_name != 'pull_request' && github.actor != 'dependabot[bot]' && !env.ACT }}
9393
tags: ${{ steps.meta.outputs.tags }}
9494
labels: ${{ steps.meta.outputs.labels }}
9595
cache-from: type=gha

0 commit comments

Comments
 (0)