update setup docker step
deploy
Details
deploy
Details
This commit is contained in:
parent
6e22fa0ab7
commit
1887778a78
|
@ -11,7 +11,18 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Docker
|
- name: Set up Docker
|
||||||
run: curl -fsSL https://get.docker.com | sh
|
run: |
|
||||||
|
apt update -y
|
||||||
|
apt install -y ca-certificates curl gnupg
|
||||||
|
mkdir -m 0755 -p /etc/apt/keyrings
|
||||||
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||||
|
echo \
|
||||||
|
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
|
||||||
|
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
|
||||||
|
tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||||
|
apt update -y
|
||||||
|
apt install -y docker-ce docker-ce-cli containerd.io
|
||||||
|
docker version
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
|
|
Reference in New Issue