dsfhfdsghfghj
Some checks failed
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Failing after 1s
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
Some checks failed
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Failing after 1s
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
This commit is contained in:
@@ -168,6 +168,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Get base image digests
|
||||||
|
id: get_digest
|
||||||
|
run: |
|
||||||
|
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")
|
||||||
|
basic_digest=$(docker inspect --format='{{index .RepoDigests 0}}' gitea.fithwum.tech/${{ secrets.GIT_USERNAME }}/debian-base:bookworm || echo "unknown")
|
||||||
|
echo "alpine_digest=$alpine_digest"
|
||||||
|
echo "debian_digest=$debian_digest"
|
||||||
|
echo "basic_digest=$basic_digest"
|
||||||
|
|
||||||
- name: Generate build-info.json only for updated variants
|
- name: Generate build-info.json only for updated variants
|
||||||
env:
|
env:
|
||||||
IMAGE_REGISTRY: ${{ env.IMAGE_REGISTRY }}
|
IMAGE_REGISTRY: ${{ env.IMAGE_REGISTRY }}
|
||||||
@@ -202,16 +212,6 @@ jobs:
|
|||||||
versions+=("basic")
|
versions+=("basic")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Get base image digests
|
|
||||||
id: get_digest
|
|
||||||
run: |
|
|
||||||
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")
|
|
||||||
basic_digest=$(docker inspect --format='{{index .RepoDigests 0}}' gitea.fithwum.tech/${{ secrets.GIT_USERNAME }}/debian-base:bookworm || echo "unknown")
|
|
||||||
echo "alpine_digest=$alpine_digest" >> $GITHUB_OUTPUT
|
|
||||||
echo "debian_digest=$debian_digest" >> $GITHUB_OUTPUT
|
|
||||||
echo "basic_digest=$basic_digest" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
for version in "${versions[@]}"; do
|
for version in "${versions[@]}"; do
|
||||||
echo "[INFO] Generating build-info.json for $version"
|
echo "[INFO] Generating build-info.json for $version"
|
||||||
mkdir -p "$version"
|
mkdir -p "$version"
|
||||||
|
|||||||
Reference in New Issue
Block a user