add command splitting
Some checks failed
Build Custom docker:dind image / build-container (push) Failing after 26s

This commit is contained in:
Neshura 2023-11-16 17:49:18 +00:00
parent 6d3c0d069e
commit 8eda29aad6

View file

@ -8,13 +8,17 @@ jobs:
steps: steps:
- -
name: Prepare Container Environment name: Prepare Container Environment
run: apt-get install ca-certificates curl gnupg run: |
run: install -m 0755 -d /etc/apt/keyrings apt-get install ca-certificates curl gnupg; \
run: curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg install -m 0755 -d /etc/apt/keyrings; \
run: chmod a+r /etc/apt/keyrings/docker.gpg curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg; \
run: echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null chmod a+r /etc/apt/keyrings/docker.gpg; \
run: apt-get update echo \
run: apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null; \
apt-get update; \
apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
- -
name: Set up QEMU name: Set up QEMU
uses: docker/setup-qemu-action@v3 uses: docker/setup-qemu-action@v3