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
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:
@@ -113,7 +113,7 @@ jobs:
|
||||
for version in $ALPINE_VERSIONS; do
|
||||
IMAGE="${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_ORG }}/${{ env.IMAGE_REPO }}:$version"
|
||||
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
|
||||
|
||||
generate-changelogs:
|
||||
@@ -127,13 +127,13 @@ jobs:
|
||||
run: |
|
||||
cd upload-repo
|
||||
for version in $ALPINE_VERSIONS; do
|
||||
mkdir -p "$version"
|
||||
changelog="$version/CHANGES.md"
|
||||
mkdir -p "v$version"
|
||||
changelog="v$version/CHANGES.md"
|
||||
touch "$changelog"
|
||||
|
||||
last_commit=""
|
||||
if [ -f "$version/build-info.json" ]; then
|
||||
last_commit=$(jq -r '.commit' "$version/build-info.json")
|
||||
if [ -f "v$version/build-info.json" ]; then
|
||||
last_commit=$(jq -r '.commit' "v$version/build-info.json")
|
||||
fi
|
||||
|
||||
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)
|
||||
|
||||
mkdir -p "$version"
|
||||
mkdir -p "v$version"
|
||||
jq -n \
|
||||
--arg commit "$(git rev-parse HEAD)" \
|
||||
--arg image_tag "$IMAGE" \
|
||||
@@ -184,7 +184,7 @@ jobs:
|
||||
image_size: $image_size,
|
||||
image_size_bytes: $image_size_bytes,
|
||||
build_time: $build_time
|
||||
}' > "$version/build-info.json"
|
||||
}' > "v$version/build-info.json"
|
||||
done
|
||||
|
||||
git config user.name "${{ secrets.GIT_USERNAME }}"
|
||||
|
||||
Reference in New Issue
Block a user