diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..996a5df --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,32 @@ +name: Publish Docker Image + +on: + push: + branches: + - master + +jobs: + publish: + name: Release Version + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + repository-projects: write + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Bump version and push tag + id: tag_version + uses: mathieudutour/github-tag-action@v6.2 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + + - name: Create a GitHub release + uses: ncipollo/release-action@v1 + with: + tag: ${{ steps.tag_version.outputs.new_tag }} + name: Release ${{ steps.tag_version.outputs.new_tag }} + body: ${{ steps.tag_version.outputs.changelog }}