Skip to content

Commit

Permalink
chore: fix rechunk selector
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 committed Nov 16, 2024
1 parent fe91144 commit 2b3f2c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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"
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 \
Expand Down

0 comments on commit 2b3f2c4

Please sign in to comment.