diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index be2e4f26..a44f2f82 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -18,8 +18,7 @@ jobs: docker run --privileged --rm -v /dev:/dev -v $(pwd):/builder/repo -e TRAVIS_TAG="${{ github.event.release.tag_name }}" sfalexrog/img-tool:qemu-update - name: Compress image run: | - sudo chmod -R 777 images && zip -9 $(echo images/clover_*).zip images/clover_* && ls -l images - unzip -l images/clover_*.zip + cd images && sudo chmod -R 777 . && zip -9 $(echo clover_*).zip clover_* && ls -l . && unzip -l clover_*.zip - name: Upload image uses: softprops/action-gh-release@v1 if: ${{ github.event_name == 'release' }}