Update raspberrypi.yml #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
tags: | |
- 'v*' | |
name: Create Release | |
env: | |
CUSTOM_IMAGE_NAME: misogihagi_raspberrypi | |
CUSTOM_IMAGE_ISO: ubuntu-misogihagi-20.04.3-desktop-amd64.iso | |
jobs: | |
build: | |
name: Create Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: pigen | |
run: | | |
git clone https://github.com/RPI-Distro/pi-gen.git | |
cd pi-gen | |
echo IMG_NAME=misogihagi_raspberrypi >> config | |
echo LOCALE_DEFAULT=en_US.UTF-8 >> config | |
echo TARGET_HOSTNAME raspberrypi >> config | |
echo KEYBOARD_KEYMAP=us >> config | |
echo TIMEZONE_DEFAULT=America/Los_Angeles >> config | |
echo ENABLE_SSH=1 >> config | |
echo PUBKEY_SSH_FIRST_USER= >> config | |
sudo rm -rf stage3 && mkdir stage3 && touch stage3/SKIP | |
sudo rm -rf stage4 && mkdir stage4 && touch stage4/SKIP | |
sudo rm -rf stage5 && mkdir stage5 && touch stage5/SKIP | |
./build-docker.sh -c config |