Skip to content

updating env for debug #17

updating env for debug

updating env for debug #17

Workflow file for this run

name: Build pi-gen image
on:
push:
tags:
- 'v*.*.*'
jobs:
pi-gen-aryaos:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
# add a step to copy the pi-gen/config file to pi-gen/.env:
- name: Copy .env file
run: cp pi-gen/config pi-gen/.env
- name: Load .env file
uses: xom9ikk/dotenv@v2.3.0
with:
path: pi-gen/
# - name: Set env
# run: egrep -vi '(^#|^export|^$)' pi-gen/config >> $GITHUB_ENV
# - name: Echo env variables
# run: env
- name: Build AryaOS image
uses: usimd/pi-gen-action@v1
# set an environment variable for SHARED_FILES
env:
SHARED_FILES: ${{ github.workspace }}/shared_files
with:
pi-gen-dir: pi-gen-src
# Disable the renaming of the first user during the first boot. This make it so
# 'username' stays activated. 'username' must be set for this to work. Please be
# aware of the implied security risk of defining a default username and password
# for your devices.
disable-first-boot-user-rename: ${{ env.DISABLE_FIRST_BOOT_USER_RENAME || 1 }}
# Enable SSH access to Pi.
enable-ssh: ${{ env.ENABLE_SSH || 1 }}
image-name: ${{ env.IMG_NAME || 'aryaos' }}-${{ github.GITHUB_SHA || 'SHAundef' }}
hostname: ${{ env.TARGET_HOSTNAME || 'aryaos' }}
locale: ${{ env.LOCALE_DEFAULT || 'en_US.UTF-8' }}
password: ${{ env.FIRST_USER_PASS || 'aryaos415' }}
pi-gen-release: ${{ env.PI_GEN_RELEASE || 'AryaOS' }}
release: ${{ env.RELEASE || 'bookworm' }}
stage-list: "stage0 stage1 stage2 ./pi-gen/stage03-base ./pi-gen/stage04-wifi ./pi-gen/stage05-node-red ./pi-gen/stage06-common ./pi-gen/stage07-air ./pi-gen/stage08-sea ./pi-gen/stage09-uas ./pi-gen/stage10-docker"
wpa-country: ${{ env.WPA_COUNTRY || 'US' }}
wpa-essid: ${{ env.WPA_ESSID || 'AryaOS-WiFi' }}
wpa-password: ${{ env.WPA_PASSWORD || 'aryaos415' }}
keyboard-layout: ${{ env.KEYBOARD_LAYOUT || 'English (US)' }}
keyboard-keymap: ${{ env.KEYBOARD_KEYMAP || 'us' }}
pi-gen-version: arm64
verbose-output: true