diff --git a/.github/workflows/build-app.yaml b/.github/workflows/build-app.yaml index 69dc46b5..325df78b 100644 --- a/.github/workflows/build-app.yaml +++ b/.github/workflows/build-app.yaml @@ -15,7 +15,7 @@ concurrency: cancel-in-progress: false permissions: - contents: read + contents: write packages: write jobs: @@ -58,3 +58,10 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + + - name: Create GitHub release + # Create a release when a tag is pushed + if: success() && startsWith(github.ref, 'refs/tags/') + uses: ncipollo/release-action@v1 + with: + generateReleaseNotes: true