diff --git a/.github/workflows/.e2e-run.yml b/.github/workflows/.e2e-run.yml index a77dbec..ba81b1a 100644 --- a/.github/workflows/.e2e-run.yml +++ b/.github/workflows/.e2e-run.yml @@ -65,10 +65,11 @@ jobs: if: inputs.type == 'local' run: | if [ ! -e /etc/docker/daemon.json ]; then - echo '{}' | tee /etc/docker/daemon.json >/dev/null + echo '{}' | sudo tee /etc/docker/daemon.json >/dev/null fi DOCKERD_CONFIG=$(jq '.+{"insecure-registries":["http://${{ env.REGISTRY_FQDN }}"]}' /etc/docker/daemon.json) sudo tee /etc/docker/daemon.json <<<"$DOCKERD_CONFIG" >/dev/null + cat /etc/docker/daemon.json sudo service docker restart - name: Install ${{ inputs.name }}