fix: add debug output for prune script execution in container prune workflow
This commit is contained in:
9
.github/workflows/container-prune.yml
vendored
9
.github/workflows/container-prune.yml
vendored
@@ -1,6 +1,7 @@
|
||||
name: Container Registry Prune
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '0 3 * * 0' # Weekly: Sundays at 03:00 UTC
|
||||
workflow_dispatch:
|
||||
@@ -45,6 +46,14 @@ jobs:
|
||||
run: |
|
||||
sudo apt-get update && sudo apt-get install -y jq curl gh
|
||||
|
||||
- name: Show prune script being executed
|
||||
run: |
|
||||
echo "===== SCRIPT PATH ====="
|
||||
pwd
|
||||
ls -la scripts
|
||||
echo "===== FIRST 20 LINES ====="
|
||||
head -n 20 scripts/prune-container-images.sh
|
||||
|
||||
- name: Run container prune
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user