diff --git a/.github/workflows/docker-datahub-upgrade.yml b/.github/workflows/docker-datahub-upgrade.yml index 6aeb459e77..d5c4e8f462 100644 --- a/.github/workflows/docker-datahub-upgrade.yml +++ b/.github/workflows/docker-datahub-upgrade.yml @@ -46,7 +46,6 @@ jobs: push_to_registries: name: Build and Push Docker Image to Docker Hub runs-on: ubuntu-latest - if: ${{ needs.setup.outputs.publish == 'true' }} needs: setup steps: - name: Check out the repo @@ -62,6 +61,7 @@ jobs: tag-custom: ${{ needs.setup.outputs.tag }} tag-custom-only: true - name: Login to DockerHub + if: ${{ needs.setup.outputs.publish == 'true' }} uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_USERNAME }} diff --git a/.github/workflows/docker-elasticsearch-setup.yml b/.github/workflows/docker-elasticsearch-setup.yml index e31218757e..d03bc1c1e9 100644 --- a/.github/workflows/docker-elasticsearch-setup.yml +++ b/.github/workflows/docker-elasticsearch-setup.yml @@ -43,7 +43,6 @@ jobs: push_to_registries: name: Build and Push Docker Image to Docker Hub runs-on: ubuntu-latest - if: ${{ needs.setup.outputs.publish == 'true' }} needs: setup steps: - name: Check out the repo @@ -59,6 +58,7 @@ jobs: tag-custom: ${{ needs.setup.outputs.tag }} tag-custom-only: true - name: Login to DockerHub + if: ${{ needs.setup.outputs.publish == 'true' }} uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_USERNAME }} diff --git a/.github/workflows/docker-frontend-react.yml b/.github/workflows/docker-frontend-react.yml index 6fa6e31aaf..0fc52fae72 100644 --- a/.github/workflows/docker-frontend-react.yml +++ b/.github/workflows/docker-frontend-react.yml @@ -45,7 +45,6 @@ jobs: push_to_registries: name: Build and Push Docker Image to Docker Hub runs-on: ubuntu-latest - if: ${{ needs.setup.outputs.publish == 'true' }} needs: setup steps: - name: Check out the repo @@ -61,6 +60,7 @@ jobs: tag-custom: ${{ needs.setup.outputs.tag }} tag-custom-only: true - name: Login to DockerHub + if: ${{ needs.setup.outputs.publish == 'true' }} uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_USERNAME }} diff --git a/.github/workflows/docker-gms.yml b/.github/workflows/docker-gms.yml index 3904d76f5b..6d3fe547ce 100644 --- a/.github/workflows/docker-gms.yml +++ b/.github/workflows/docker-gms.yml @@ -45,7 +45,6 @@ jobs: push_to_registries: name: Build and Push Docker Image to Docker Hub runs-on: ubuntu-latest - if: ${{ needs.setup.outputs.publish == 'true' }} needs: setup steps: - name: Check out the repo @@ -61,6 +60,7 @@ jobs: tag-custom: ${{ needs.setup.outputs.tag }} tag-custom-only: true - name: Login to DockerHub + if: ${{ needs.setup.outputs.publish == 'true' }} uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_USERNAME }} diff --git a/.github/workflows/docker-ingestion.yml b/.github/workflows/docker-ingestion.yml index e92ee2e2d0..8362b54b92 100644 --- a/.github/workflows/docker-ingestion.yml +++ b/.github/workflows/docker-ingestion.yml @@ -45,7 +45,6 @@ jobs: push_to_registries: name: Build and Push Docker Image to Docker Hub runs-on: ubuntu-latest - if: ${{ needs.setup.outputs.publish == 'true' }} needs: setup steps: - name: Check out the repo @@ -61,6 +60,7 @@ jobs: tag-custom: ${{ needs.setup.outputs.tag }} tag-custom-only: true - name: Login to DockerHub + if: ${{ needs.setup.outputs.publish == 'true' }} uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_USERNAME }} diff --git a/.github/workflows/docker-kafka-setup.yml b/.github/workflows/docker-kafka-setup.yml index 0fd6d40fdf..d2fd9cbb79 100644 --- a/.github/workflows/docker-kafka-setup.yml +++ b/.github/workflows/docker-kafka-setup.yml @@ -42,7 +42,6 @@ jobs: push_to_registries: name: Build and Push Docker Image to Docker Hub runs-on: ubuntu-latest - if: ${{ needs.setup.outputs.publish == 'true' }} needs: setup steps: - name: Check out the repo @@ -58,6 +57,7 @@ jobs: tag-custom: ${{ needs.setup.outputs.tag }} tag-custom-only: true - name: Login to DockerHub + if: ${{ needs.setup.outputs.publish == 'true' }} uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_USERNAME }} diff --git a/.github/workflows/docker-mae-consumer.yml b/.github/workflows/docker-mae-consumer.yml index 3c98cb55f9..1b0748742d 100644 --- a/.github/workflows/docker-mae-consumer.yml +++ b/.github/workflows/docker-mae-consumer.yml @@ -45,7 +45,6 @@ jobs: push_to_registries: name: Build and Push Docker Image to Docker Hub runs-on: ubuntu-latest - if: ${{ needs.setup.outputs.publish == 'true' }} needs: setup steps: - name: Check out the repo @@ -61,6 +60,7 @@ jobs: tag-custom: ${{ needs.setup.outputs.tag }} tag-custom-only: true - name: Login to DockerHub + if: ${{ needs.setup.outputs.publish == 'true' }} uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_USERNAME }} diff --git a/.github/workflows/docker-mce-consumer.yml b/.github/workflows/docker-mce-consumer.yml index e1034b1069..5c69ce5453 100644 --- a/.github/workflows/docker-mce-consumer.yml +++ b/.github/workflows/docker-mce-consumer.yml @@ -45,7 +45,6 @@ jobs: push_to_registries: name: Build and Push Docker Image to Docker Hub runs-on: ubuntu-latest - if: ${{ needs.setup.outputs.publish == 'true' }} needs: setup steps: - name: Check out the repo @@ -61,6 +60,7 @@ jobs: tag-custom: ${{ needs.setup.outputs.tag }} tag-custom-only: true - name: Login to DockerHub + if: ${{ needs.setup.outputs.publish == 'true' }} uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_USERNAME }}