diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 245ddb1..240eb58 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,22 +14,22 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build the Docker image - run: | - docker build \ - --build-arg APT_SOURCE=http://azure.archive.ubuntu.com \ + run: > + docker build + --build-arg APT_SOURCE=http://azure.archive.ubuntu.com -t labstrap . - name: Get base image - run: | - wget --progress=dot:giga \ - -O ~/input.tar.zst \ + run: > + wget --progress=dot:giga + -O ~/input.tar.zst http://download.proxmox.com/images/system/ubuntu-22.04-standard_22.04-1_amd64.tar.zst - name: Build it! - run: | - docker run --rm -i --name=labstrap --privileged \ - -e GITHUB_RUN_NUMBER \ - -v "$PWD":/srv:ro \ - -v $HOME/rootfs:/target \ - -v $HOME/input.tar.zst:/input.tar.zst:ro \ + run: > + docker run --rm -i --name=labstrap --privileged + -e GITHUB_RUN_NUMBER + -v "$PWD":/srv:ro + -v $HOME/rootfs:/target + -v $HOME/input.tar.zst:/input.tar.zst:ro labstrap - name: Pack it! run: |