Skip to content

Commit

Permalink
Print info about Docker and current user (#85)
Browse files Browse the repository at this point in the history
Signed-off-by: Benoit Donneaux <[email protected]>
  • Loading branch information
btlogy authored May 31, 2023
1 parent 97a87e6 commit 34d0c32
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ jobs:
- name: Check docker setup
run: |
docker run hello-world
echo "Current user:" && id -a
echo "Sub user IDs:" && sudo cat /etc/subuid
echo "Sub group IDs:" && sudo cat /etc/subgid
sudo test -f /etc/docker/daemon.json && { \
echo "Docker daemon JSON config:"
sudo cat /etc/docker/daemon.json; } || \
echo "Docker daemon JSON config not found"
echo "Docker group:" && sudo grep docker /etc/group
- name: Build Ansible Controller image
id: build_controller
Expand Down

0 comments on commit 34d0c32

Please sign in to comment.