This commit is contained in:
Nicolas Patry 2024-02-14 10:05:29 +00:00
parent 69d1d3cde6
commit 0523031ffb
1 changed files with 10 additions and 9 deletions

View File

@ -77,15 +77,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install docker
run: sudo apt-get update
| sudo apt-get install ca-certificates curl
| sudo install -m 0755 -d /etc/apt/keyrings
| sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
| sudo chmod a+r /etc/apt/keyrings/docker.asc
| # 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
| sudo apt-get update
| sudo apt-get install docker-ce docker-ce-cli containerd.io
run: |
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# 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
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
with:
install: true
- name: Initialize Docker Buildx