diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 8fe8b0a..0ca27fc 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -1,13 +1,13 @@ name: Build And Publish Production Image on: - pull_request_review: - types: [submitted] + push: + branches: + - main jobs: build: name: Build And Publish Production Image - if: github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'main' runs-on: ubuntu-latest env: REGISTRY: gitea.lab @@ -16,7 +16,6 @@ jobs: - uses: actions/checkout@v4 with: github-server-url: http://gitea.lab - ref: ${{ github.event.pull_request.head.sha }} - name: Verify Docker CLI run: docker version