diff --git a/.github/workflows/cicd-pytorch_dockers.yml b/.github/workflows/cicd-pytorch_dockers.yml index 87d9325e0a..640c632f0f 100644 --- a/.github/workflows/cicd-pytorch_dockers.yml +++ b/.github/workflows/cicd-pytorch_dockers.yml @@ -96,7 +96,7 @@ jobs: - uses: actions/checkout@v2 - uses: docker/setup-buildx-action@v2 - uses: docker/login-action@v1 - if: env.PUSH_TO_HUB == 'true' + if: true with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} @@ -135,7 +135,7 @@ jobs: - uses: actions/checkout@v2 - uses: docker/setup-buildx-action@v2 - uses: docker/login-action@v1 - if: env.PUSH_TO_HUB == 'true' + if: true with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }}