Skip to content

Commit

Permalink
ci: Fix docker setup (#15)
Browse files Browse the repository at this point in the history
* ci: Fix docker setup

* ci: Fix docker sudo error

`sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?`
  • Loading branch information
Tiryoh authored Jan 1, 2021
1 parent c6f8dbf commit 1a8f0b5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,6 @@ jobs:
fi
echo ::set-output name=distro::$DISTRO
- name: Prepare Docker
run: |
echo '{"experimental": true}' | sudo tee -a /etc/docker/daemon.json > /dev/null
mkdir ~/.docker
echo '{"experimental": "enabled"}' | tee -a ~/.docker/config.json > /dev/null
sudo service docker restart
- name: Prepare for Cross-Build
run: |
sudo apt-get update
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@ jobs:
fi
echo ::set-output name=distro::$DISTRO
- name: Prepare Docker
run: |
echo '{"experimental": true}' | sudo tee -a /etc/docker/daemon.json > /dev/null
mkdir ~/.docker
echo '{"experimental": "enabled"}' | tee -a ~/.docker/config.json > /dev/null
sudo service docker restart
- name: Prepare for Cross-Build
if: matrix.arch == 'arm64'
run: |
Expand Down

0 comments on commit 1a8f0b5

Please # to comment.