Skip to content

Commit 594bf46

Browse files
authored
Merge pull request #1294 from crazy-max/fix-e2e
ci(e2e): fix setup docker config
2 parents 128779f + fd37bd5 commit 594bf46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/.e2e-run.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,11 @@ jobs:
6565
if: inputs.type == 'local'
6666
run: |
6767
if [ ! -e /etc/docker/daemon.json ]; then
68-
echo '{}' | tee /etc/docker/daemon.json >/dev/null
68+
echo '{}' | sudo tee /etc/docker/daemon.json >/dev/null
6969
fi
7070
DOCKERD_CONFIG=$(jq '.+{"insecure-registries":["http://${{ env.REGISTRY_FQDN }}"]}' /etc/docker/daemon.json)
7171
sudo tee /etc/docker/daemon.json <<<"$DOCKERD_CONFIG" >/dev/null
72+
cat /etc/docker/daemon.json
7273
sudo service docker restart
7374
-
7475
name: Install ${{ inputs.name }}

0 commit comments

Comments
 (0)