We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 985841c commit bc479ffCopy full SHA for bc479ff
.github/workflows/publish-image.yml
@@ -3,9 +3,10 @@ name: Publish Image
3
on:
4
push:
5
branches:
6
- - main
+ - "**"
7
tags:
8
- "v*"
9
+ pull_request:
10
workflow_dispatch:
11
12
permissions:
@@ -47,6 +48,6 @@ jobs:
47
48
context: .
49
file: ./Dockerfile
50
platforms: linux/amd64
- push: true
51
+ push: ${{ github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
52
tags: ${{ steps.meta.outputs.tags }}
53
labels: ${{ steps.meta.outputs.labels }}
0 commit comments