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 c952ac8 commit 225ff9bCopy full SHA for 225ff9b
.github/workflows/build-and-push-image.yml
@@ -1,9 +1,8 @@
1
name: Build and push image
2
3
on:
4
- push:
5
- tags:
6
- - "v*"
+ release:
+ types: [published]
7
8
jobs:
9
build-and-push-image:
.github/workflows/create-tag.yml renamed to .github/workflows/create-release.yml
@@ -1,13 +1,15 @@
-name: Create tag
+name: Create GitHub release
push:
branches:
- live
- create-tag:
+ create-release:
10
runs-on: ubuntu-latest
11
+ env:
12
+ GH_TOKEN: ${{ github.token }}
13
steps:
14
- uses: actions/checkout@v4
15
- uses: actions/setup-python@v5
@@ -25,3 +27,9 @@ jobs:
25
27
run: |
26
28
git tag "v${VERSION}"
29
git push origin "v${VERSION}"
30
+ - name: Create release
31
+ run: |
32
+ gh release create "v${VERSION}" \
33
+ --repo="${GITHUB_REPOSITORY}" \
34
+ --title="v${VERSION}" \
35
+ --generate-notes
0 commit comments