From 8eda29aad6b24a26774ff7149757b9ec9f7d84ba Mon Sep 17 00:00:00 2001 From: Neshura Date: Thu, 16 Nov 2023 17:49:18 +0000 Subject: [PATCH] add command splitting --- .forgejo/workflows/build.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index e36283f..d72205a 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -8,13 +8,17 @@ jobs: steps: - name: Prepare Container Environment - run: apt-get install ca-certificates curl gnupg - run: install -m 0755 -d /etc/apt/keyrings - run: curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg - run: chmod a+r /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 - run: apt-get update - run: apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin + run: | + apt-get install ca-certificates curl gnupg; \ + install -m 0755 -d /etc/apt/keyrings; \ + curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg; \ + chmod a+r /etc/apt/keyrings/docker.gpg; \ + 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; \ + apt-get update; \ + apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin - name: Set up QEMU uses: docker/setup-qemu-action@v3