-
Notifications
You must be signed in to change notification settings - Fork 5
41 lines (39 loc) · 1.27 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
name: Image Builder
on:
push:
jobs:
pre-release:
runs-on: ubuntu-latest
steps:
- run: .github/workflows/copy.sh
- 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
password: 'rosa'
release: buster
wpa-essid: 'ucia'
wpa-password : 'rosa-ucia'
stage: stage0 stage1 stage2 stage3 stage4 stage-install
- 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