diff --git a/.github/scripts/build-image.sh b/.github/scripts/build-image.sh index 43ca736..5f55441 100755 --- a/.github/scripts/build-image.sh +++ b/.github/scripts/build-image.sh @@ -19,7 +19,7 @@ usage() { echo " --image-name IMAGE_NAME Name of the image (required)" echo " --os-version OS_VERSION OS version (required)" echo " --os-edition OS_EDITION OS edition (required)" - echo " --is-rechunk Flag to indicate whether to rechunk (default: false)" + echo " --is-rechunk true|false Whether to rechunk the image (default: false)" echo " --meta-out-file META_OUT_FILE Path to the metadata output file" exit 1 } @@ -44,8 +44,8 @@ while [[ $# -gt 0 ]]; do shift 2 ;; --is-rechunk) - IS_RECHUNK=true - shift + IS_RECHUNK="$2" + shift 2 ;; --meta-out-file) META_OUT_FILE="$2" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 71bfd11..f6676cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,8 +41,8 @@ jobs: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - name: Maximize build space - uses: ublue-os/remove-unwanted-software@517622d6452028f266b7ba4cc9a123b5f58a6b53 # v7 + # - name: Maximize build space + # uses: ublue-os/remove-unwanted-software@517622d6452028f266b7ba4cc9a123b5f58a6b53 # v7 - name: Login to GitHub Container Registry uses: docker/login-action@v2 @@ -58,7 +58,6 @@ jobs: FEDORA_VERSION: ${{ env.FEDORA_VERSION }} FEDORA_EDITION: ${{ matrix.fedora-edition }} IS_RECHUNK: ${{ github.event_name != 'pull_request' && true || false }} - IS_SIGN_IMAGE: ${{ github.event_name != 'pull_request' && true || false }} run: | ./.github/scripts/build-image.sh \ --containerfile ./Containerfile \