π OpenHands: AI-Driven Development
(fix) Runtime yml missing zip handling (fixes #3101) (#3104)
tobitege9576916a49d7
diff --git a/.github/workflows/ghcr-runtime.yml b/.github/workflows/ghcr-runtime.ymlindex 66734ba75c..2b997ed79b 100644--- a/.github/workflows/ghcr-runtime.yml+++ b/.github/workflows/ghcr-runtime.yml@@ -175,9 +175,6 @@ jobs:- name: Checkout codeuses: actions/checkout@v4- - name: Check disk space before freeing- run: df -h /-- name: Free Disk Space (Ubuntu)uses: jlumbroso/free-disk-space@mainwith:@@ -202,10 +199,13 @@ jobs:name: ${{ matrix.image }}-docker-image-${{ matrix.platform }}path: /tmp/${{ matrix.platform }}+ - name: Unzip Docker image artifact+ run: unzip /tmp/${{ matrix.platform }}/${{ matrix.image }}-docker-image-${{ matrix.platform }}.zip -d /tmp/${{ matrix.platform }}+- name: Load images and push to registryrun: |- mv /tmp/${{ matrix.platform }}/${{ matrix.image }}-docker-image-${{ matrix.platform }}.tar .- if ! loaded_image=$(docker load -i ${{ matrix.image }}-docker-image-${{ matrix.platform }}.tar | grep "Loaded image:" | head -n 1 | awk '{print $3}'); then+ mv /tmp/${{ matrix.platform }}/${{ matrix.image }}_image_${{ matrix.platform }}.tar .+ if ! loaded_image=$(docker load -i ${{ matrix.image }}_image_${{ matrix.platform }}.tar | grep "Loaded image:" | head -n 1 | awk '{print $3}'); thenecho "Failed to load Docker image"exit 1fi