We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6269354 commit 45d4e5fCopy full SHA for 45d4e5f
.github/workflows/publish-images.yml
@@ -3,9 +3,10 @@ name: Publish Images
3
on:
4
push:
5
branches:
6
- - main
+ - "**"
7
tags:
8
- "v*"
9
+ pull_request:
10
workflow_dispatch:
11
12
permissions:
@@ -59,6 +60,6 @@ jobs:
59
60
context: ${{ matrix.context }}
61
file: ${{ matrix.file }}
62
platforms: linux/amd64
- push: true
63
+ push: ${{ github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
64
tags: ${{ steps.meta.outputs.tags }}
65
labels: ${{ steps.meta.outputs.labels }}
0 commit comments