diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 95090a1..37ecc65 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -100,3 +100,21 @@ jobs: name: binaries path: binaries/wg-portal_linux* retention-days: 10 + + release: + if: startsWith(github.ref, 'refs/tags/v') + runs-on: ubuntu-latest + needs: build-n-push + permissions: + contents: write + steps: + - name: Download binaries + uses: actions/download-artifact@v4 + with: + name: binaries + + - name: Create GitHub Release + uses: softprops/action-gh-release@v2 + with: + files: 'wg-portal_linux*' + generate_release_notes: true