Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yuito-it committed Jul 31, 2024
1 parent 21a580c commit 1f0a35e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/docker-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Set deamon.json
- name: enable
run: |
SW_JSON=""
SW_JSON="$(sudo cat /etc/docker/daemon.json | jq '.+{ "insecure-registries":["${{ secrets.K8S_DOCKER_REGISTHOST }}"] }')"
echo "${SW_JSON}" | sudo bash -c 'cat -- > /etc/docker/daemon.json'
SW_JSON="$(sudo cat /etc/docker/daemon.json | jq '.+{ "experimental":false }')"
echo "${SW_JSON}" | sudo bash -c 'cat -- > /etc/docker/daemon.json'
sudo cat /etc/docker/daemon.json
sudo systemctl restart docker || sudo journalctl -xeu docker.service
echo ---
Expand All @@ -30,9 +28,9 @@ jobs:
echo ---
sudo systemctl status docker
shell: bash
- name: Set Timeout
- name: Check Docker status
run: |
export DOCKER_CLIENT_TIMEOUT=9000
export DOCKER_CLIENT_TIMEOUT=120
export COMPOSE_HTTP_TIMEOUT=120
sudo systemctl status docker.service
sudo journalctl -xeu docker.service
Expand Down

0 comments on commit 1f0a35e

Please sign in to comment.