name: docker-build on: push: branches: - main permissions: write-all jobs: release: runs-on: docker steps: - uses: actions/forgejo-release@v2 with: direction: upload url: https://git.h2-invent.com repo: meetling/livekit-uploader tag: ${{ vars.LIVEKIT_UPLOADER_MAJOR_VERSION }}.${{ github.run_number }} token: ${{ secrets.GITHUB_TOKEN }} docker-build: runs-on: host needs: - release steps: - name: Checkout Repository uses: actions/checkout@v4 - name: Login to Docker Hub uses: docker/login-action@v3 with: registry: git.h2-invent.com username: ${{ secrets.FORGEJO_ACTION_PACKAGE_RW_USER }} password: ${{ secrets.FORGEJO_ACTION_PACKAGE_RW_KEY }} - name: Build and push uses: docker/build-push-action@v6 with: push: true tags: git.h2-invent.com/meetling/livekit-uploader:${{ vars.LIVEKIT_UPLOADER_MAJOR_VERSION }}.${{ github.run_number }},git.h2-invent.com/meetling/livekit-uploader:latest