diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5eb4a59..602805d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,7 +50,7 @@ jobs: uses: aws-actions/amazon-ecr-login@v2 - name: Build, tag, and push docker image to Amazon ECR - #if: github.ref == 'refs/heads/main' && github.event_name == 'push' + if: github.ref == 'refs/heads/main' && github.event_name == 'push' env: ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} ECR_REPOSITORY: ${{ vars.AWS_ECR_REPO_NAME }}