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 6adac26 commit 3af1822Copy full SHA for 3af1822
.github/workflows/ci.yaml
@@ -1,5 +1,10 @@
1
name: ci
2
-on: [push, pull_request, release]
+on:
3
+ push:
4
+ pull_request:
5
+ create:
6
+ tags: '*'
7
+
8
jobs:
9
build:
10
name: Build
@@ -25,5 +30,5 @@ jobs:
25
30
- name: Push the release Docker image
26
31
run: |
27
32
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
28
- VERSION=$GITHUB_REF_NAME make build.push
29
- if: github.event_name == 'release'
33
+ VERSION=${{ github.ref_name }} make build.push
34
+ if: startsWith(github.ref, 'refs/tags/')
0 commit comments