Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): update rechunk action inputs #1697

Merged
merged 5 commits into from
Sep 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -384,15 +384,15 @@ jobs:
string: ${{ env.IMAGE_REGISTRY }}

- name: Prepare Rechunk
if: inputs.rechunk == 'true' && github.event_name != 'pull_request'
if: inputs.rechunk == true && github.event_name != 'pull_request'
run: |
sudo apt update && sudo apt install systemd-container
sudo podman image scp $(whoami)@localhost::${{ steps.build_image.outputs.image }}:${{ env.DEFAULT_TAG }} root@localhost::
podman rmi $(podman image ls -qa) --force

- name: Rechunk Image
id: rechunk
if: inputs.rechunk == 'true' && github.event_name != 'pull_request'
if: inputs.rechunk == true && github.event_name != 'pull_request'
uses: hhd-dev/[email protected]
with:
rechunk: ghcr.io/hhd-dev/rechunk:v0.8.6
Expand All @@ -403,7 +403,7 @@ jobs:

# Overwrite the image with the chuncked image
- name: Load Rechunked Image
if: inputs.rechunk == 'true' && github.event_name != 'pull_request'
if: inputs.rechunk == true && github.event_name != 'pull_request'
run: |
sudo podman rmi $(sudo podman image ls -qa) --force
IMAGE=$(podman pull ${{ steps.rechunk.outputs.ref }})
Expand Down
Loading