diff --git a/.github/workflows/joystream-node-docker.yml b/.github/workflows/joystream-node-docker.yml index aafa3816a7..00b275ee6e 100644 --- a/.github/workflows/joystream-node-docker.yml +++ b/.github/workflows/joystream-node-docker.yml @@ -36,6 +36,13 @@ jobs: export RUNTIME_CODE_SHASUM=`scripts/runtime-code-shasum.sh` echo "::set-output name=shasum::${RUNTIME_CODE_SHASUM}" + # docker manifest inspect command requires authentication + - name: Login to DockerHub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Check if we already have the main image on Dockerhub id: compute_main_image_exists # Will output 0 if image exists and 1 if does not exists @@ -73,6 +80,12 @@ jobs: with: node-version: '14.x' + # docker manifest inspect requires authentication + - name: Login to DockerHub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} - name: Check if we have pre-built image on Dockerhub id: compute_image_exists # Will output 0 if image exists and 1 if does not exists diff --git a/devops/ansible/roles/common/tasks/install-tools.yml b/devops/ansible/roles/common/tasks/install-tools.yml index 094b3a014f..dc3d9b2e86 100644 --- a/devops/ansible/roles/common/tasks/install-tools.yml +++ b/devops/ansible/roles/common/tasks/install-tools.yml @@ -91,7 +91,7 @@ - name: Install rustup shell: cmd: | - bash -ic "curl https://getsubstrate.io -sSf | bash -s -- --fast" + bash -ic "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y" args: executable: /bin/bash