test
Some checks failed
Build and Push Alpine RootFS and Docker Images / build-and-upload-rootfs (push) Failing after 5s
Build and Push Alpine RootFS and Docker Images / build-and-push-docker-images (push) Has been skipped
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) Failing after 5s
Build and Push Alpine RootFS and Docker Images / build-and-push-docker-images (push) Has been skipped
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:
@@ -19,7 +19,6 @@ env:
|
||||
IMAGE_REPO: alpine-base
|
||||
|
||||
jobs:
|
||||
|
||||
build-and-upload-rootfs:
|
||||
runs-on: vm-docker-build2
|
||||
steps:
|
||||
@@ -35,7 +34,7 @@ jobs:
|
||||
|
||||
mkdir -p output/$version
|
||||
cid=$(docker create alpine-builder:$version)
|
||||
docker cp "$cid":/output/alpine-rootfs.tar.gz output/$version/
|
||||
docker cp "$cid":/output/alpine-${version}.tar.gz output/$version/
|
||||
docker rm "$cid"
|
||||
done
|
||||
|
||||
@@ -47,7 +46,7 @@ jobs:
|
||||
run: |
|
||||
for version in $ALPINE_VERSIONS; do
|
||||
mkdir -p upload-repo/$version
|
||||
cp output/$version/alpine-rootfs.tar.gz upload-repo/$version/
|
||||
cp output/$version/alpine-$version.tar.gz upload-repo/$version/
|
||||
done
|
||||
|
||||
- name: Commit and push updated archives
|
||||
@@ -57,7 +56,7 @@ jobs:
|
||||
git config user.email "${{ secrets.GIT_EMAIL }}"
|
||||
|
||||
if git status --porcelain | grep .; then
|
||||
git add */alpine-rootfs.tar.gz
|
||||
git add */alpine-$version.tar.gz
|
||||
git commit -m "Update Alpine rootfs $(date -u +'%Y-%m-%dT%H:%M:%SZ')"
|
||||
git push
|
||||
else
|
||||
@@ -85,7 +84,7 @@ jobs:
|
||||
printf '%s\n' \
|
||||
"FROM scratch" \
|
||||
"LABEL maintainer=\"fithwum\"" \
|
||||
"ADD alpine-$ALPINE_VERSIONS.tar.gz /" \
|
||||
"ADD alpine-$version.tar.gz /" \
|
||||
"CMD [\"/bin/sh\"]" > "$DOCKERFILE_PATH"
|
||||
|
||||
echo "[INFO] Created $DOCKERFILE_PATH"
|
||||
|
||||
Reference in New Issue
Block a user