From b9682e45ac5b880806cad43368af80049dcb1bc0 Mon Sep 17 00:00:00 2001 From: AJ Kim Date: Mon, 12 Aug 2024 15:30:35 +0900 Subject: [PATCH] fix: no master image push --- .github/workflows/docker-image.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-image.yaml b/.github/workflows/docker-image.yaml index 24e19ec..a86b227 100644 --- a/.github/workflows/docker-image.yaml +++ b/.github/workflows/docker-image.yaml @@ -32,10 +32,10 @@ jobs: if: github.event_name == 'pull_request' run: docker push ajktown/consistency:pr${{ github.event.pull_request.number }} - - name: Build the Docker image as latest - if: github.ref == 'refs/heads/main' && github.event_name == 'push' - run: docker build . --file Dockerfile --tag ajktown/consistency:latest + # - name: Build the Docker image as latest + # if: github.ref == 'refs/heads/main' && github.event_name == 'push' + # run: docker build . --file Dockerfile --tag ajktown/consistency:latest - - name: Push the Docker image as latest - if: github.ref == 'refs/heads/main' && github.event_name == 'push' - run: docker push ajktown/consistency:latest + # - name: Push the Docker image as latest + # if: github.ref == 'refs/heads/main' && github.event_name == 'push' + # run: docker push ajktown/consistency:latest