fix(ci): add debug info and make maintenance optional

This commit is contained in:
2026-02-05 10:56:42 +01:00
parent a5e2e5a2db
commit 977773fe94

View File

@@ -28,10 +28,17 @@ jobs:
directus_host: ${{ steps.determine.outputs.directus_host }} directus_host: ${{ steps.determine.outputs.directus_host }}
project_name: ${{ steps.determine.outputs.project_name }} project_name: ${{ steps.determine.outputs.project_name }}
steps: steps:
- name: 🧹 Maintenance (Runner Cleanup) - name: 🔍 Debug Info
run: | run: |
docker image prune -f echo "ref_name: ${{ github.ref_name }}"
docker builder prune -f --filter "until=24h" echo "ref_type: ${{ github.ref_type }}"
echo "tag: ${{ github.ref_name }}"
- name: 🧹 Maintenance (Runner Cleanup)
continue-on-error: true
run: |
docker image prune -f || true
docker builder prune -f --filter "until=24h" || true
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -66,6 +73,7 @@ jobs:
TARGET="skip" TARGET="skip"
fi fi
echo "Target determined: $TARGET"
echo "target=$TARGET" >> "$GITHUB_OUTPUT" echo "target=$TARGET" >> "$GITHUB_OUTPUT"
echo "image_tag=$IMAGE_TAG" >> "$GITHUB_OUTPUT" echo "image_tag=$IMAGE_TAG" >> "$GITHUB_OUTPUT"
echo "env_file=$ENV_FILE" >> "$GITHUB_OUTPUT" echo "env_file=$ENV_FILE" >> "$GITHUB_OUTPUT"