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 55614d9 commit 230156eCopy full SHA for 230156e
.github/workflows/ci.yaml
@@ -3,8 +3,9 @@ name: Test & Build
3
on:
4
push:
5
branches: main
6
+ tags:
7
+ - 'v*'
8
pull_request:
- branches: main
9
10
jobs:
11
test:
@@ -20,8 +21,8 @@ jobs:
20
21
image: platform/nginx-proxy
22
platforms: linux/amd64,linux/arm64
23
tags: latest
- push: ${{ github.event_name != 'pull_request' }}
24
- promote: ${{ github.event_name != 'pull_request' }}
+ push: ${{ startsWith(github.ref, 'refs/tags/v') }}
25
+ promote: ${{ startsWith(github.ref, 'refs/tags/v') }}
26
secrets:
27
github_pat: ${{ secrets.SHARED_GITHUB_TOKEN }}
28
jfrog_token: ${{ secrets.SHARED_JFROG_TOKEN }}
0 commit comments