name: Build and push Docker image on: push: branches: - 'main' jobs: docker: runs-on: ubuntu-latest steps: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - name: Login to Gitea Container Registry uses: docker/login-action@v3 with: registry: git.marcelsite.com username: ${{ gitea.repository_owner }} password: ${{ secrets.SECRET_TOKEN }} - name: Build and push uses: docker/build-push-action@v4 with: push: true tags: marcel/rar-index-app:latest