fix(release): remove tagged scan image in cleanup step

This commit is contained in:
2026-06-12 17:21:42 -04:00
parent 96eb3e8185
commit b2896b8d41
+2
View File
@@ -100,5 +100,7 @@ jobs:
- name: Cleanup Docker artifacts - name: Cleanup Docker artifacts
if: always() if: always()
run: | run: |
# the scan image is tagged, so image prune won't catch it
docker image rm "uptop-scan:${{ steps.meta.outputs.tag }}" 2>/dev/null || true
docker image prune -f docker image prune -f
docker builder prune -f --keep-storage=2GB docker builder prune -f --keep-storage=2GB