File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 :
You can’t perform that action at this time.
0 commit comments