diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0a01f89a..d51095fb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,7 +39,7 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Push to Docker Hub - # if: ${{ github.ref == 'refs/heads/main' }} + if: ${{ github.ref == 'refs/heads/main' }} run: | bazel --bazelrc=.github/workflows/ci.bazelrc --bazelrc=.bazelrc run //src/python/fitbit_challenges/api:dockerhub bazel --bazelrc=.github/workflows/ci.bazelrc --bazelrc=.bazelrc run //src/python/fitbit_challenges/api/migrations:dockerhub