This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
forked from armbian/build
-
Notifications
You must be signed in to change notification settings - Fork 0
73 lines (67 loc) · 1.82 KB
/
build-images-j100-edge_action.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: Build JetHub Images J100 edge action
on:
workflow_dispatch:
inputs:
choice:
type: choice
description: Build targets
options:
- beta
- stable
- rc
runner:
type: choice
description: Build runners for CLI
options:
- hirsute
- focal
default: hirsute
sourcerepo:
description: Source repository
required: true
default: 'nightly'
jobs:
fake:
runs-on: [self-hosted]
name: Source changes
if: ${{ github.repository_owner == 'jethome-ru' }}
steps:
- run: |
echo "not empty" > changes
- uses: actions/upload-artifact@v3
with:
path: changes
name: changes
if-no-files-found: ignore
merge:
needs: [ fake ]
uses: jethome-ru/build-armbian/.github/workflows/autorebase.yml@main
secrets:
token: ${{ secrets.ARMBIAN_UPDATE_TOKEN }}
cli:
needs: [ merge ]
uses: jethome-ru/build-armbian-scripts/.github/workflows/build-with-docker-action.yml@master
with:
variant: 'cli:${{ github.event.inputs.choice }}'
sourcerepo: '${{ github.event.inputs.sourcerepo }}'
runner: '${{ github.event.inputs.runner }}'
part: 1
of: 1
include: 'grep jethubj100 | grep jammy | grep edge | '
exclude: ''
uploading: true
secrets:
TOKEN: ${{ secrets.ARMBIAN_UPDATE_TOKEN }}
SSHKEY: ${{ secrets.SSHKEY }}
SSHKNOWNHOSTS: ${{ secrets.SSHKNOWNHOSTS }}
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
FWUPLOAD: ${{ secrets.FWUPLOAD }}
jobsend:
name: finish
needs: [cli]
runs-on: [self-hosted]
if: ${{ github.repository_owner == 'jethome-ru' }}
steps:
- run: |
echo "End"