We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fddf1e7 commit f2cb311Copy full SHA for f2cb311
.github/workflows/docker-image.yml
@@ -3,6 +3,9 @@ name: Docker Image CI
3
on:
4
push:
5
branches: [ main ]
6
+ tags: ["v*"]
7
+ pull_request:
8
+ branches: ["main"]
9
10
env:
11
REGISTRY: ghcr.io
@@ -44,6 +47,6 @@ jobs:
44
47
with:
45
48
context: .
46
49
platforms: linux/amd64, linux/arm64
- push: true
50
+ push: ${{ github.event_name == 'push' }}
51
tags: ${{ steps.meta.outputs.tags }}
52
labels: ${{ steps.meta.outputs.labels }}
0 commit comments