Polkadex-Substrate / polkadexTEE-worker

Polkadex Off-chain Orderbook
Apache License 2.0
10 stars 1 forks source link

Fix CI - self hosted servers are down currently #316

Open haerdib opened 2 years ago

haerdib commented 2 years ago

When running cargo fmt in CI, the following error occurs:

Checking docker version
  /usr/bin/docker version --format '{{.Server.APIVersion}}'
  Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/version": dial unix /var/run/docker.sock: connect: permission denied
  '
  Error: Exit code 1 returned from process: file name '/usr/bin/docker', arguments 'version --format '{{.Server.APIVersion}}''.

(see https://github.com/Polkadex-Substrate/polkadexTEE-worker/runs/4064717650?check_suite_focus=true)