Skip to content

Commit 6387cfb

Browse files
committed
refactor: simplify comments and update build step name in workflow
1 parent 5d62018 commit 6387cfb

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/build-pi-image.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ jobs:
2323
- name: Create custom stage for Docker
2424
run: |
2525
mkdir -p docker-stage/{00-packages,00-run-chroot.d}
26-
# a) Install Docker
2726
echo docker.io > docker-stage/00-packages/01-packages
28-
# b) Copy your docker-compose.yml into rootfs
2927
cat > docker-stage/00-run-chroot.d/02-copy-compose.sh << 'EOF'
3028
#!/bin/bash
3129
install -Dm644 $GITHUB_WORKSPACE/docker-compose.yml \
@@ -34,11 +32,11 @@ jobs:
3432
chmod +x ${ROOTFS_DIR}/home/pi/docker-compose.yml
3533
EOF
3634
chmod +x docker-stage/00-run-chroot.d/02-copy-compose.sh
37-
# c) Add empty 00-run.sh to ensure rootfs is created
35+
# c) Add empty 00-run.sh to ensure rootfs is created
3836
touch docker-stage/00-run.sh
3937
chmod +x docker-stage/00-run.sh
4038
41-
- name: Build Raspberry Pi image with pi-gen-action
39+
- name: Build Raspberry Pi image
4240
uses: usimd/pi-gen-action@v1
4341
id: build
4442
with:

0 commit comments

Comments
 (0)