Browse Source

Test save/load logic

master
Mayank 5 years ago
parent
commit
4ebaddb944
No known key found for this signature in database GPG Key ID: D037D60476CE748C
  1. 13
      .github/workflows/on-push.yml
  2. 8
      build-test.sh

13
.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

8
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
Loading…
Cancel
Save