Skip to content

Commit

Permalink
Merge pull request #1294 from crazy-max/fix-e2e
Browse files Browse the repository at this point in the history
ci(e2e): fix setup docker config
  • Loading branch information
crazy-max authored Jan 8, 2025
2 parents 128779f + fd37bd5 commit 594bf46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/.e2e-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 594bf46

Please sign in to comment.