This commit is contained in:
Nicolas Patry 2024-02-14 10:13:45 +00:00
parent df91f105e8
commit 5b0befee43
1 changed files with 8 additions and 8 deletions

View File

@ -78,15 +78,15 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install docker - name: Install docker
run: | run: |
sudo apt-get update apt-get update
sudo apt-get install ca-certificates curl apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc chmod a+r /etc/apt/keyrings/docker.asc
Add the repository to Apt sources: # Add the repository to Apt sources:
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io apt-get install docker-ce docker-ce-cli containerd.io
- name: Initialize Docker Buildx - name: Initialize Docker Buildx
uses: docker/setup-buildx-action@v3.0.0 uses: docker/setup-buildx-action@v3.0.0
with: with: