Skip to content

Commit f2cb311

Browse files
Run build action on PRs
1 parent fddf1e7 commit f2cb311

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/docker-image.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Docker Image CI
33
on:
44
push:
55
branches: [ main ]
6+
tags: ["v*"]
7+
pull_request:
8+
branches: ["main"]
69

710
env:
811
REGISTRY: ghcr.io
@@ -44,6 +47,6 @@ jobs:
4447
with:
4548
context: .
4649
platforms: linux/amd64, linux/arm64
47-
push: true
50+
push: ${{ github.event_name == 'push' }}
4851
tags: ${{ steps.meta.outputs.tags }}
4952
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)