adfgsfgdsfg
Some checks failed
Build and Push Alpine RootFS and Docker Images / build-and-upload-rootfs (push) Successful in 19s
Build and Push Alpine RootFS and Docker Images / build-and-push-docker-images (push) Failing after 9s
Build and Push Alpine RootFS and Docker Images / generate-changelogs (push) Has been skipped
Build and Push Alpine RootFS and Docker Images / generate-build-info (push) Has been skipped

This commit is contained in:
2025-07-13 12:56:36 -07:00
parent 4d3e30e57c
commit 2d8ab4608c

View File

@@ -113,7 +113,7 @@ jobs:
for version in $ALPINE_VERSIONS; do for version in $ALPINE_VERSIONS; do
IMAGE="${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_ORG }}/${{ env.IMAGE_REPO }}:$version" IMAGE="${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_ORG }}/${{ env.IMAGE_REPO }}:$version"
echo "[INFO] Building and pushing $IMAGE" echo "[INFO] Building and pushing $IMAGE"
docker buildx build --platform linux/amd64 -t "$IMAGE" -f /$version/Dockerfile --push upload-repo/$version docker buildx build --platform linux/amd64 -t "$IMAGE" -f /v$version/Dockerfile --push upload-repo/$version
done done
generate-changelogs: generate-changelogs:
@@ -127,13 +127,13 @@ jobs:
run: | run: |
cd upload-repo cd upload-repo
for version in $ALPINE_VERSIONS; do for version in $ALPINE_VERSIONS; do
mkdir -p "$version" mkdir -p "v$version"
changelog="$version/CHANGES.md" changelog="v$version/CHANGES.md"
touch "$changelog" touch "$changelog"
last_commit="" last_commit=""
if [ -f "$version/build-info.json" ]; then if [ -f "v$version/build-info.json" ]; then
last_commit=$(jq -r '.commit' "$version/build-info.json") last_commit=$(jq -r '.commit' "v$version/build-info.json")
fi fi
echo -e "\n## $(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> "$changelog" echo -e "\n## $(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> "$changelog"
@@ -169,7 +169,7 @@ jobs:
human_size=$(numfmt --to=iec-i --suffix=B $size_bytes) human_size=$(numfmt --to=iec-i --suffix=B $size_bytes)
mkdir -p "$version" mkdir -p "v$version"
jq -n \ jq -n \
--arg commit "$(git rev-parse HEAD)" \ --arg commit "$(git rev-parse HEAD)" \
--arg image_tag "$IMAGE" \ --arg image_tag "$IMAGE" \
@@ -184,7 +184,7 @@ jobs:
image_size: $image_size, image_size: $image_size,
image_size_bytes: $image_size_bytes, image_size_bytes: $image_size_bytes,
build_time: $build_time build_time: $build_time
}' > "$version/build-info.json" }' > "v$version/build-info.json"
done done
git config user.name "${{ secrets.GIT_USERNAME }}" git config user.name "${{ secrets.GIT_USERNAME }}"