run-name: ${{ gitea.actor }} on: push: branches: - "main" jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 with: buildkitd-config-inline: | [registry."192.168.88.252:32000"] http = true - name: Build and push Docker image uses: docker/build-push-action@v6 with: push: ${{ github.event_name != 'pull_request' }} tags: 192.168.88.252:32000/log101-blog:latest