diff --git a/.github/workflows/product.yaml b/.github/workflows/product.yaml index 3b2f25ca5..54741b5fe 100644 --- a/.github/workflows/product.yaml +++ b/.github/workflows/product.yaml @@ -147,9 +147,9 @@ jobs: run: "make V=1 NO_KEY=1 eos.img --debug" - name: Compress image - run: "gzip eos.img" + run: "make gzip" - uses: actions/upload-artifact@v3 with: name: image - path: eos.img.gz + path: eos.tar.gz diff --git a/.gitignore b/.gitignore index 977f6819a..9e63eb749 100644 --- a/.gitignore +++ b/.gitignore @@ -13,5 +13,6 @@ deploy_web.sh secrets.db .vscode/ /cargo-deps/**/* -ENVIRONMENT.txt -GIT_HASH.txt \ No newline at end of file +/ENVIRONMENT.txt +/GIT_HASH.txt +/eos.tar.gz \ No newline at end of file diff --git a/Makefile b/Makefile index 2e0fe52e1..2832e6e78 100644 --- a/Makefile +++ b/Makefile @@ -17,8 +17,10 @@ $(shell sudo true) all: eos.img -gzip: eos.img - gzip -k eos.img +gzip: eos.tar.gz + +eos.tar.gz: eos.img + tar --format=posix -cS -f- eos.img | gzip > eos.tar.gz clean: rm -f eos.img