Skip to content

Commit 5dad8fd

Browse files
committed
chore(ci): validate container build on prs
1 parent 90e5875 commit 5dad8fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/container.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Container Image
22

33
on:
44
workflow_dispatch:
5+
pull_request:
56
push:
67
branches:
78
- main
@@ -22,6 +23,7 @@ jobs:
2223
uses: docker/setup-buildx-action@v3
2324

2425
- name: Log in to GHCR
26+
if: github.event_name != 'pull_request'
2527
uses: docker/login-action@v3
2628
with:
2729
registry: ghcr.io

0 commit comments

Comments
 (0)