test
Some checks failed
Build Alpine RootFS and Docker Image (latest) / build-rootfs (push) Failing after 13s
Build Alpine RootFS and Docker Image (latest) / push-tarball (push) Has been skipped
Build Alpine RootFS and Docker Image (latest) / push-docker (push) Has been skipped
Build Alpine RootFS and Docker Image (latest) / update-changelog (push) Has been skipped
Build Alpine RootFS and Docker Image (latest) / update-build-info (push) Has been skipped

This commit is contained in:
2025-07-06 09:05:24 -07:00
parent d0f651e87c
commit d6e87b85f4
2 changed files with 46 additions and 18 deletions

View File

@@ -24,18 +24,25 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3
- name: Build custom Alpine builder image
- name: Build Alpine Base Image
run: |
docker build -t alpine-builder:latest .
docker build -t alpine-builder .
container_id=$(docker create alpine-builder)
docker cp "$container_id:/alpine-base.tar.gz" .
docker rm "$container_id"
- name: Run Alpine build scripts
run: |
mkdir -p latest
bash base-image-script/alpine-base_pt1.sh
# - name: Build custom Alpine builder image
# run: |
# docker build -t alpine-builder:latest .
- name: Run Alpine build scripts inside builder container
run: |
docker run --rm --privileged -v "$PWD":/workspace -w /workspace alpine-builder bash base-image-script/alpine-base_pt1.sh
# - name: Run Alpine build scripts
# run: |
# mkdir -p latest
# bash base-image-script/alpine-base_pt1.sh
# - name: Run Alpine build scripts inside builder container
# run: |
# docker run --rm --privileged -v "$PWD":/workspace -w /workspace alpine-builder bash base-image-script/alpine-base_pt1.sh
- name: Show tarball
run: ls -lh ${{ env.OUTPUT_TAR }}