Skip to content

Commit

Permalink
Try to restart docker before pulling images
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru committed Sep 21, 2022
1 parent a85bfad commit f9ee71b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/docker-merge-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ jobs:
run: touch /tmp/tags/aarch64-tensorflow-notebook.txt
shell: bash

# Docker might be stuck when pulling images
# https://github.com/docker/for-mac/issues/2083
# https://stackoverflow.com/questions/38087027/docker-compose-stuck-downloading-or-pulling-fs-layer
- name: Reset docker state 🗑️
run: |
docker system prune --all --force
sudo systemctl restart docker
shell: bash

- name: Login to Docker Hub 🔐
if: github.ref == 'refs/heads/main' || github.event_name == 'schedule'
uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b # dependabot updates to latest release
Expand Down

0 comments on commit f9ee71b

Please sign in to comment.