Skip to content

Commit f2ce64e

Browse files
committed
move tool to run before cleanup step
1 parent 90ba3c1 commit f2ce64e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/s3-image-sync.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ jobs:
168168
. venv/bin/activate
169169
bash .github/bin/get-s3-image.sh ${{ env.TARGET_IMAGE }} ${{ env.S3_BUCKET }}
170170
171+
- name: Set Glance image properties correctly for Slurm images
172+
run: |
173+
. venv/bin/activate
174+
. dev/image-set-properties.sh "${{ env.TARGET_IMAGE }}"
175+
171176
- name: Cleanup OpenStack Image (on error or cancellation)
172177
if: cancelled() || failure()
173178
run: |
@@ -180,8 +185,3 @@ jobs:
180185
echo "No image ID found, skipping cleanup."
181186
fi
182187
shell: bash
183-
184-
- name: Set Glance image properties correctly for Slurm images
185-
run: |
186-
. venv/bin/activate
187-
. dev/image-set-properties.sh "${{ env.TARGET_IMAGE }}"

0 commit comments

Comments
 (0)