Skip to content

Commit

Permalink
[ci/debug] Debug docker on github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed May 22, 2024
1 parent 69160ee commit fb88003
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,23 @@ jobs:
- ubuntu2204
- debian11

increase-verbosity:
steps:
- name: Check Docker Version
run: docker --version

- name: Check Docker Info
run: docker info

- name: Enable Debug Output
run: |
sudo mkdir -p /etc/systemd/system/docker.service.d
echo '[Service]' | sudo tee /etc/systemd/system/docker.service.d/override.conf
echo 'Environment="DOCKER_OPTS=--debug"' | sudo tee -a /etc/systemd/system/docker.service.d/override.conf
sudo systemctl daemon-reload
sudo systemctl restart docker
sudo journalctl -u docker.service --no-pager --since "5 minutes ago"
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
Expand Down

0 comments on commit fb88003

Please sign in to comment.