From 4ebaddb9447a539a167f7315ed4be97bfb76793b Mon Sep 17 00:00:00 2001 From: Mayank Date: Fri, 3 Jul 2020 12:41:07 +0530 Subject: [PATCH] Test save/load logic --- .github/workflows/on-push.yml | 13 +++++++++++++ build-test.sh | 8 ++++++++ 2 files changed, 21 insertions(+) create mode 100644 .github/workflows/on-push.yml create mode 100755 build-test.sh diff --git a/.github/workflows/on-push.yml b/.github/workflows/on-push.yml new file mode 100644 index 0000000..a73a264 --- /dev/null +++ b/.github/workflows/on-push.yml @@ -0,0 +1,13 @@ +name: Testing only +on: + push: + branches: + - * + +jobs: + build: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v1 + - name: Run Build script + run: sudo ./build-test.sh diff --git a/build-test.sh b/build-test.sh new file mode 100755 index 0000000..03b2c64 --- /dev/null +++ b/build-test.sh @@ -0,0 +1,8 @@ +docker --version +wget -q "https://raw.githubusercontent.com/getumbrel/umbrel-compose/master/docker-compose.yml" +IMAGES=$(grep '^\s*image' docker-compose.yml | sed 's/image://' | sed 's/\"//g' | sed '/^$/d;s/[[:blank:]]//g' | sort | uniq) +echo "List of images to download: $IMAGES" +docker pull --platform=linux/arm/v7 $IMAGES +docker images +docker save $IMAGES -o umbrel-docker-images.tar +ls -al \ No newline at end of file