...
This commit is contained in:
parent
69d1d3cde6
commit
0523031ffb
|
@ -77,15 +77,16 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install docker
|
- name: Install docker
|
||||||
run: sudo apt-get update
|
run: |
|
||||||
| sudo apt-get install ca-certificates curl
|
sudo apt-get update
|
||||||
| sudo install -m 0755 -d /etc/apt/keyrings
|
sudo apt-get install ca-certificates curl
|
||||||
| sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
|
sudo install -m 0755 -d /etc/apt/keyrings
|
||||||
| sudo chmod a+r /etc/apt/keyrings/docker.asc
|
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
|
||||||
| # Add the repository to Apt sources:
|
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
||||||
| 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
|
# Add the repository to Apt sources:
|
||||||
| sudo apt-get update
|
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 install docker-ce docker-ce-cli containerd.io
|
sudo apt-get update
|
||||||
|
sudo apt-get install docker-ce docker-ce-cli containerd.io
|
||||||
with:
|
with:
|
||||||
install: true
|
install: true
|
||||||
- name: Initialize Docker Buildx
|
- name: Initialize Docker Buildx
|
||||||
|
|
Loading…
Reference in New Issue