31 Commits

Author SHA1 Message Date
9df759f673 Update base image digests (2025-11-02T01:01:22Z) 2025-11-02 01:01:22 +00:00
e331588440 Update base image digests (2025-10-26T01:00:53Z) 2025-10-26 01:00:53 +00:00
04b09c1f8b Update base image digests (2025-10-19T01:00:47Z) 2025-10-19 01:00:47 +00:00
79f7c1ae85 Update base image digests (2025-10-12T01:00:38Z) 2025-10-12 01:00:38 +00:00
32b2385803 Update base image digests (2025-10-05T01:01:21Z) 2025-10-05 01:01:21 +00:00
c3463fbacb Update base image digests (2025-09-28T01:00:51Z) 2025-09-28 01:00:51 +00:00
9663e32d29 Update base image digests (2025-09-21T01:00:58Z) 2025-09-21 01:00:58 +00:00
6b78adea37 Update base image digests (2025-09-14T01:00:58Z) 2025-09-14 01:00:58 +00:00
b6a73909af Update base image digests (2025-09-07T01:01:32Z) 2025-09-07 01:01:32 +00:00
01e6fe192a Update base image digests (2025-08-31T01:00:42Z) 2025-08-31 01:00:42 +00:00
6ed0382283 Update base image digests (2025-08-18T12:16:05Z) 2025-08-18 12:16:05 +00:00
ab69ccd43c Delete .cache/basic-base.digest 2025-08-18 05:15:54 -07:00
31ef640747 Delete .cache/debian-base.digest 2025-08-18 05:15:47 -07:00
7616f43a01 Update base image digests (2025-08-18T11:59:13Z) 2025-08-18 11:59:13 +00:00
2b6e3bef51 Update base image digests (2025-08-17T01:01:01Z) 2025-08-17 01:01:01 +00:00
75a9a94d7f Update base image digests (2025-08-10T01:01:18Z) 2025-08-10 01:01:18 +00:00
298c220d9b Update base image digests (2025-07-28T15:19:00Z) 2025-07-28 15:19:00 +00:00
08c0a7cb62 test
All checks were successful
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 10s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
2025-07-20 12:38:15 -07:00
563d890643 Update base image digests (2025-07-20T19:26:01Z) 2025-07-20 19:26:01 +00:00
108e453eae test
All checks were successful
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 12s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
2025-07-20 12:25:46 -07:00
167fcf8d31 test
Some checks failed
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Failing after 17s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
2025-07-20 12:21:27 -07:00
cfed24cf45 test
Some checks failed
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Failing after 6s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
2025-07-20 12:20:24 -07:00
444f103286 test
Some checks failed
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Failing after 8s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
2025-07-20 12:19:02 -07:00
f2677e6c00 test
All checks were successful
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 11s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
2025-07-18 05:51:01 -07:00
2357d019d5 test
All checks were successful
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
2025-07-17 19:38:07 -07:00
75ad931392 test
All checks were successful
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 8s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Successful in 4s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
2025-07-17 19:34:12 -07:00
b753e010f8 test
All checks were successful
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Successful in 9s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Successful in 4s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
2025-07-17 19:32:22 -07:00
80af6eb83e Update base image digests (2025-07-18T01:54:27Z) 2025-07-18 01:54:27 +00:00
67b2b2c498 test
Some checks failed
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Failing after 6s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Has been skipped
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
2025-07-17 18:54:18 -07:00
138e5a5aff test
Some checks failed
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 7s
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Successful in 9s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Failing after 4s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
2025-07-17 18:40:16 -07:00
07b37c6ae8 test
Some checks failed
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Successful in 9s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 9s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Failing after 4s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
2025-07-17 18:37:57 -07:00
5 changed files with 113 additions and 96 deletions

View File

@@ -0,0 +1 @@
alpine@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412

View File

@@ -1 +0,0 @@
alpine@sha256:8a1f59ffb675680d47db6337b49d22281a139e9d709335b492be023728e11715

1
.cache/basic-base.digest Normal file
View File

@@ -0,0 +1 @@
gitea.fithwum.tech/fithwum/debian-base@sha256:0ec40453757ece2e2ebcc6af59ead694497c6c0eebb974073de55fcd7fbf95dc

View File

@@ -1 +1 @@
gitea.fithwum.tech/fithwum/debian-base@sha256:16c677d72657174954fab4d618bd994ff0fb6ee0bcca5f0cbaf28bae85e107c9 gitea.fithwum.tech/fithwum/debian-base@sha256:0ec40453757ece2e2ebcc6af59ead694497c6c0eebb974073de55fcd7fbf95dc

View File

@@ -4,14 +4,18 @@ on:
push: push:
branches: branches:
- main - main
paths-ignore: paths:
- '**/CHANGES.md' - '.gitea/workflows/*.yml'
- '**/build-info.json' - '**/Dockerfile'
- '**/*.sh'
- '!.cache/*'
- '!**/CHANGES.md'
- '!**/build-info.json'
schedule: schedule:
- cron: '0 1 * * 0' - cron: '0 1 * * 0'
env: env:
IMAGE_REGISTRY: gitea.fithwum.tech IMAGE_REGISTRY: ${{ secrets.REPO_URL }}
IMAGE_ORG: ${{ secrets.GIT_USERNAME }} IMAGE_ORG: ${{ secrets.GIT_USERNAME }}
IMAGE_REPO_TS: teamspeak-server IMAGE_REPO_TS: teamspeak-server
CACHE_DIR: .cache CACHE_DIR: .cache
@@ -23,15 +27,18 @@ jobs:
should_build_alpine: ${{ steps.check.outputs.should_build_alpine }} should_build_alpine: ${{ steps.check.outputs.should_build_alpine }}
should_build_debian: ${{ steps.check.outputs.should_build_debian }} should_build_debian: ${{ steps.check.outputs.should_build_debian }}
should_build_basic: ${{ steps.check.outputs.should_build_basic }} should_build_basic: ${{ steps.check.outputs.should_build_basic }}
alpine_digest: ${{ steps.get_digest.outputs.alpine_digest }} alpine_digest: ${{ steps.check.outputs.alpine_digest }}
debian_digest: ${{ steps.get_digest.outputs.debian_digest }} debian_digest: ${{ steps.check.outputs.debian_digest }}
basic_digest: ${{ steps.get_digest.outputs.basic_digest }} basic_digest: ${{ steps.check.outputs.basic_digest }}
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Ensure .cache directory
run: mkdir -p .cache
- name: Pull latest base images - name: Pull latest base images
run: | run: |
docker pull alpine:latest docker pull alpine:latest
@@ -42,36 +49,75 @@ jobs:
run: | run: |
alpine_digest=$(docker inspect --format='{{index .RepoDigests 0}}' alpine:latest || echo "unknown") alpine_digest=$(docker inspect --format='{{index .RepoDigests 0}}' alpine:latest || echo "unknown")
debian_digest=$(docker inspect --format='{{index .RepoDigests 0}}' gitea.fithwum.tech/${{ secrets.GIT_USERNAME }}/debian-base:bookworm || echo "unknown") debian_digest=$(docker inspect --format='{{index .RepoDigests 0}}' gitea.fithwum.tech/${{ secrets.GIT_USERNAME }}/debian-base:bookworm || echo "unknown")
basic_digest=$(docker inspect --format='{{index .RepoDigests 0}}' gitea.fithwum.tech/${{ secrets.GIT_USERNAME }}/debian-base:bookworm || echo "unknown") basic_digest=$debian_digest # basic uses debian-base
echo "alpine_digest=$alpine_digest" >> $GITHUB_OUTPUT echo "alpine_digest=$alpine_digest" >> $GITHUB_OUTPUT
echo "debian_digest=$debian_digest" >> $GITHUB_OUTPUT echo "debian_digest=$debian_digest" >> $GITHUB_OUTPUT
echo "basic_digest=$basic_digest" >> $GITHUB_OUTPUT echo "basic_digest=$basic_digest" >> $GITHUB_OUTPUT
- name: Commit and push updated base digests if changed
run: |
git config user.name "${{ secrets.GIT_USERNAME }}"
git config user.email "${{ secrets.GIT_EMAIL }}"
changed=false
check_and_update() {
name="$1"
digest="$2"
file=".cache/${name}-base.digest"
if [[ ! -f "$file" ]] || [[ "$(cat "$file")" != "$digest" ]]; then
echo "$digest" > "$file"
echo "[INFO] $name digest changed"
changed=true
else
echo "[INFO] $name digest unchanged"
fi
}
check_and_update alpine "${{ steps.get_digest.outputs.alpine_digest }}"
check_and_update debian "${{ steps.get_digest.outputs.debian_digest }}"
check_and_update basic "${{ steps.get_digest.outputs.basic_digest }}"
if [ "$changed" = true ]; then
git stash push --include-untracked -m "temp-stash-before-rebase"
git fetch origin main
git rebase origin/main
git stash pop || true
git add .cache/*-base.digest
git commit -m "Update base image digests ($(date -u +'%Y-%m-%dT%H:%M:%SZ'))"
git push origin HEAD:main
else
echo "[INFO] No base digest changes to commit."
fi
- name: Compare digests and detect changes - name: Compare digests and detect changes
id: check id: check
run: | run: |
check_variant() { check_variant() {
variant=$1 variant=$1
new_digest=$2 new_digest=$2
infofile="$variant/build-info.json" digest_file=".cache/${variant}-base.digest"
last_digest="" last_digest=""
base_changed=false base_changed=false
code_changed=false code_changed=false
if [ -f "$infofile" ]; then if [ -f "$digest_file" ]; then
last_digest=$(jq -r '.base_digest // empty' "$infofile") last_digest=$(cat "$digest_file")
fi fi
if [ "$last_digest" != "$new_digest" ]; then if [ "$last_digest" != "$new_digest" ]; then
base_changed=true base_changed=true
echo "[INFO] $variant base image changed: $last_digest -> $new_digest"
fi fi
# Detect changes in variant folder # Check if code in the variant directory changed
code_changed=$(git diff --name-only origin/main | grep "^$variant/" || true) git fetch origin main
if [[ -n "$code_changed" ]]; then code_diff=$(git diff --name-only origin/main...HEAD | grep "^$variant/" || true)
if [[ -n "$code_diff" ]]; then
code_changed=true code_changed=true
else echo "[INFO] $variant code changed: $code_diff"
code_changed=false
fi fi
should_build=false should_build=false
@@ -80,6 +126,7 @@ jobs:
fi fi
echo "should_build_${variant}=$should_build" >> $GITHUB_OUTPUT echo "should_build_${variant}=$should_build" >> $GITHUB_OUTPUT
echo "${variant}_digest=$new_digest" >> $GITHUB_OUTPUT
} }
check_variant "alpine" "${{ steps.get_digest.outputs.alpine_digest }}" check_variant "alpine" "${{ steps.get_digest.outputs.alpine_digest }}"
@@ -95,6 +142,8 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Login to Docker registry - name: Login to Docker registry
run: | run: |
@@ -117,6 +166,8 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Login to Docker registry - name: Login to Docker registry
run: | run: |
@@ -139,6 +190,8 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Login to Docker registry - name: Login to Docker registry
run: | run: |
@@ -168,22 +221,30 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Prepare temporary build-info workspace - name: Load digests from cache
run: mkdir -p upload-repo id: base_digests
- name: Clone Minecraft repo
run: | run: |
GIT_CREDENTIAL="${{ secrets.GIT_TOKEN || secrets.GIT_PASSWORD }}" load_digest() {
git clone --depth=1 "https://${{ secrets.GIT_USERNAME }}:${GIT_CREDENTIAL}@gitea.fithwum.tech/fithwum/teamspeak-server.git" upload-repo file=".cache/$1-base.digest"
cd upload-repo if [ -f "$file" ]; then
cat "$file"
else
echo "unknown"
fi
}
- name: Generate build-info.json only for updated variants echo "alpine=$(load_digest alpine)" >> $GITHUB_OUTPUT
echo "debian=$(load_digest debian)" >> $GITHUB_OUTPUT
echo "basic=$(load_digest basic)" >> $GITHUB_OUTPUT
- name: Generate build-info.json for each variant
env: env:
IMAGE_REGISTRY: ${{ env.IMAGE_REGISTRY }} IMAGE_REGISTRY: ${{ env.IMAGE_REGISTRY }}
IMAGE_ORG: ${{ env.IMAGE_ORG }} IMAGE_ORG: ${{ env.IMAGE_ORG }}
IMAGE_REPO_TS: ${{ env.IMAGE_REPO_TS }} IMAGE_REPO_TS: ${{ env.IMAGE_REPO_TS }}
CACHE_DIR: ${{ env.CACHE_DIR }}
run: | run: |
variants=(alpine debian basic)
human_size() { human_size() {
local b=$1 local b=$1
local d='' local d=''
@@ -197,53 +258,27 @@ jobs:
printf "%s%s\n" "$b" "${S[$s]}" printf "%s%s\n" "$b" "${S[$s]}"
} }
versions=() variants=()
if [[ "${{ needs.check-for-changes.outputs.should_build_alpine }}" == "true" ]]; then [[ "${{ needs.build-alpine.outputs.built }}" == "true" ]] && variants+=("alpine")
versions+=("alpine") [[ "${{ needs.build-debian.outputs.built }}" == "true" ]] && variants+=("debian")
fi [[ "${{ needs.build-basic.outputs.built }}" == "true" ]] && variants+=("basic")
if [[ "${{ needs.check-for-changes.outputs.should_build_debian }}" == "true" ]]; then
versions+=("debian")
fi
if [[ "${{ needs.check-for-changes.outputs.should_build_basic }}" == "true" ]]; then
versions+=("basic")
fi
# Clear old build-info.json files for variant in "${variants[@]}"; do
echo "🧹 Clearing old build-info.json files" image_tag="${IMAGE_REGISTRY}/${IMAGE_ORG}/${IMAGE_REPO_TS}:${variant}"
find . -type f -name build-info.json -exec rm -v {} + digest=$(docker inspect --format='{{index .RepoDigests 0}}' "$image_tag" 2>/dev/null || echo "unknown")
size_bytes=$(docker image inspect "$image_tag" --format='{{.Size}}' 2>/dev/null || echo 0)
size_human=$(numfmt --to=iec --suffix=B $size_bytes 2>/dev/null || echo "${size_bytes}B")
commit_hash=$(git rev-parse HEAD)
build_time=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
for version in "${versions[@]}"; do base_digest="${{ steps.base_digests.outputs[$variant] }}"
echo "[INFO] Generating build-info.json for $version"
image="${IMAGE_REGISTRY}/${IMAGE_ORG}/${IMAGE_REPO_TS}:${version}"
infofile="$version/build-info.json"
mkdir -p "$(dirname "$infofile")"
if ! docker pull "$image"; then
echo "[WARN] Failed to pull $image — setting fields to unknown/0"
digest="unknown"
size_bytes=0
else
digest=$(docker inspect --format='{{if .RepoDigests}}{{index .RepoDigests 0}}{{else}}unknown{{end}}' "$image" 2>/dev/null || echo "unknown")
size_bytes=$(docker image inspect "$image" --format='{{.Size}}' 2>/dev/null || echo "0")
size_bytes=${size_bytes//[^0-9]/}
if [[ -z "$size_bytes" ]]; then size_bytes=0; fi
fi
size_human=$(human_size "$size_bytes")
# base digest logic
base_digest="unknown"
if [ "$version" = "alpine" ]; then
base_digest=$(docker inspect --format='{{index .RepoDigests 0}}' alpine:latest 2>/dev/null || echo "unknown")
elif [ "$version" = "debian" ] || [ "$version" = "basic" ]; then
base_digest=$(docker inspect --format='{{index .RepoDigests 0}}' gitea.fithwum.tech/${{ secrets.GIT_USERNAME }}/debian-base:bookworm 2>/dev/null || echo "unknown")
fi
mkdir -p "$variant"
jq -n \ jq -n \
--arg version "$version" \ --arg version "$variant" \
--arg commit "$(git rev-parse HEAD)" \ --arg commit "$commit_hash" \
--arg build_time "$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \ --arg build_time "$build_time" \
--arg image_tag "$image" \ --arg image_tag "$image_tag" \
--arg digest "$digest" \ --arg digest "$digest" \
--arg image_size "$size_human" \ --arg image_size "$size_human" \
--argjson image_size_bytes "$size_bytes" \ --argjson image_size_bytes "$size_bytes" \
@@ -257,26 +292,19 @@ jobs:
image_size: $image_size, image_size: $image_size,
image_size_bytes: $image_size_bytes, image_size_bytes: $image_size_bytes,
base_digest: $base_digest base_digest: $base_digest
}' > "$infofile" }' > "$variant/build-info.json"
done done
- name: Copy build-info to repo - name: Show generated build-info.json
run: | run: |
for version in alpine debian basic; do find . -name build-info.json -exec echo '--- {} ---' \; -exec cat {} \;
if [ -f "$version/build-info.json" ]; then
mkdir -p "upload-repo/$version"
cp "$version/build-info.json" "upload-repo/$version/"
fi
done
- name: Commit and push build-info if changed - name: Commit and push build-info if changed
run: | run: |
git config user.name "${{ secrets.GIT_USERNAME }}" git config user.name "${{ secrets.GIT_USERNAME }}"
git config user.email "${{ secrets.GIT_EMAIL }}" git config user.email "${{ secrets.GIT_EMAIL }}"
if git status --porcelain | grep .; then
git add */build-info.json git add */build-info.json
if ! git diff --cached --quiet; then
git commit -m "Update build-info on $(date -u +'%Y-%m-%dT%H:%M:%SZ')" git commit -m "Update build-info on $(date -u +'%Y-%m-%dT%H:%M:%SZ')"
git push git push
@@ -290,20 +318,8 @@ jobs:
echo "[INFO] No build-info changes to commit." echo "[INFO] No build-info changes to commit."
fi fi
ls -l */build-info.json || echo "❌ build-info not written" ls -l basic/build-info.json || echo "❌ build-info not written"
for version in alpine debian basic; do cat basic/build-info.json || echo "❌ empty build-info"
echo "$version build-info.json"
cat "$version/build-info.json" || echo "❌ empty build-info for $version"
done
- name: Show generated build-info
run: |
for version in alpine debian basic; do
echo "::group::$version build-info.json"
ls -l "$version/build-info.json" || echo "❌ missing"
cat "$version/build-info.json" || echo "❌ empty"
echo "::endgroup::"
done
generate-changelogs: generate-changelogs:
needs: generate-build-info needs: generate-build-info