-
Notifications
You must be signed in to change notification settings - Fork 5
44 lines (42 loc) · 1.44 KB
/
images.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Image Builder
on:
push:
jobs:
pre-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Copy install files in stage
run: .github/workflows/copy.sh ${{ github.workspace }}/${{ inputs.custom-pi-gen-dir }}
- uses: usimd/pi-gen-action@v1
with:
image-name: ucia
verbose-output: true
enable-ssh: 1
# keyboard-keymap: fr
# keyboard-layout:
disable-first-boot-user-rename: 1
hostname: ucia
username: pi
release: buster
password: 'rosa'
wpa-essid: 'ucia'
wpa-password : 'rosa-ucia'
# timezone: Europe/Paris
stage-list: stage-install stage0 stage1 stage2 stage3 stage4
- uses: actions/upload-artifact@v3
with:
name: ucia
path: ${{ steps.build.outputs.image-path }}
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# # Supprimer l'ancienne pré-release (Pseudo-code)
# - name: Delete previous pre-release
# run: |
# # Utilisez l'API GitHub ou un script pour trouver et supprimer l'ancienne pré-release
# # Créer une nouvelle pré-release (Pseudo-code)
# - name: Create new pre-release
# run: |
# # Générer un nouveau tag unique
# # Utilisez l'API GitHub pour créer une nouvelle pré-release avec ce tag