diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index c2dde04..05c3510 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -34,16 +34,13 @@ jobs: - name: Set up Docker run: | - sudo apt-get update - sudo apt-get install -y docker.io - sudo systemctl start docker - sudo systemctl enable docker - sudo usermod -aG docker $USER - docker --version + curl -fsSL https://get.docker.com -o get-docker.sh + sudo sh get-docker.sh + continue-on-error: false - name: Set up Docker Compose run: | - sudo curl -L "https://github.com/docker/compose/releases/download/$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r .tag_name)/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose + sudo curl -L "https://github.com/docker/compose/releases/download/v2.3.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose docker-compose --version