From fd37bd55af0b8c458ea0ff376ce151a332fa7aed Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Wed, 8 Jan 2025 10:08:17 +0100 Subject: [PATCH] ci(e2e): fix setup docker config Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/.e2e-run.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }}