diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 3ce61d3b..b74bd78b 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -7,11 +7,6 @@ on: tags: - '*' -env: - MODEL_URLS: | - https://github.com/Zeyi-Lin/HivisionIDPhotos/releases/download/pretrained-model/hivision_modnet.onnx - https://github.com/Zeyi-Lin/HivisionIDPhotos/releases/download/pretrained-model/modnet_photographic_portrait_matting.onnx - jobs: docker: runs-on: ubuntu-latest @@ -21,7 +16,7 @@ jobs: uses: actions/checkout@v4 - name: Download models - run: echo ${{ vars.MODEL_URLS }} | xargs -n 1 -I {} wget -P hivision/creator/weights {} + run: echo ${{ vars.MODEL_URLS }} | xargs -n 1 -I {} wget -P "hivision/creator/weights" {} - name: Set up QEMU uses: docker/setup-qemu-action@v3