Merge pull request #1294 from crazy-max/fix-e2e

ci(e2e): fix setup docker config
This commit is contained in:
CrazyMax 2025-01-08 10:14:00 +01:00 committed by GitHub
commit 594bf46f0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 }}