diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index fa704e8..e8bc0c5 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -1,12 +1,27 @@ name: Build and Push on: - release: - types: [published] + push: + tags: + - 'v*' jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Create Gitea Release + uses: https://gitea.com/actions/release-action@main + with: + title: Release ${{ github.ref_name }} + body: "Automated release for ${{ github.ref_name }}" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + build: runs-on: ubuntu-latest + needs: release steps: - uses: actions/checkout@v4