From bd6006178be95f016fdda0e685bdf0a6550781f3 Mon Sep 17 00:00:00 2001 From: Khoa Tran Date: Fri, 13 Dec 2024 20:40:00 +0700 Subject: [PATCH] feat: something --- .github/workflows/ci.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e81d068..a94ca56 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,8 +5,6 @@ on: branches: - main pull_request: - branches: - - main jobs: build: @@ -31,5 +29,5 @@ jobs: - name: Build and push Docker image uses: docker/build-push-action@v5 with: - push: true + push: ${{ github.ref == 'refs/heads/main' }} tags: minhkhoa0502/learning_repo:${{ github.sha }}