Commit eb0eddb 1 parent 2fff108 commit eb0eddb Copy full SHA for eb0eddb
File tree 1 file changed +105
-0
lines changed
1 file changed +105
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release crates (GHCR)
2
+
3
+ on :
4
+ workflow_call :
5
+ inputs :
6
+ live-run :
7
+ type : string
8
+ required : false
9
+ repo :
10
+ type : string
11
+ required : true
12
+ version :
13
+ type : string
14
+ required : true
15
+ branch :
16
+ type : string
17
+ required : false
18
+ binary :
19
+ type : string
20
+ required : true
21
+ files :
22
+ type : string
23
+ required : true
24
+ platforms :
25
+ type : string
26
+ required : true
27
+ tags :
28
+ type : string
29
+ required : true
30
+ licenses :
31
+ type : string
32
+ required : false
33
+ no-build :
34
+ type : boolean
35
+ required : false
36
+ default : false
37
+ workflow_dispatch :
38
+ inputs :
39
+ live-run :
40
+ type : string
41
+ required : false
42
+ repo :
43
+ type : string
44
+ required : true
45
+ version :
46
+ type : string
47
+ required : true
48
+ branch :
49
+ type : string
50
+ required : false
51
+ binary :
52
+ type : string
53
+ required : true
54
+ files :
55
+ type : string
56
+ required : true
57
+ platforms :
58
+ type : string
59
+ required : true
60
+ tags :
61
+ type : string
62
+ required : true
63
+ licenses :
64
+ type : string
65
+ required : false
66
+ no-build :
67
+ type : boolean
68
+ required : false
69
+ default : false
70
+
71
+ jobs :
72
+ build :
73
+ if : ${{ !inputs.no-build }}
74
+ runs-on : ubuntu-latest
75
+ strategy :
76
+ fail-fast : false
77
+ matrix :
78
+ target : [x86_64-unknown-linux-musl, aarch64-unknown-linux-musl]
79
+ steps :
80
+ - uses : eclipse-zenoh/ci/build-crates-standalone@main
81
+ with :
82
+ repo : ${{ inputs.repo }}
83
+ version : ${{ inputs.version }}
84
+ branch : ${{ inputs.branch }}
85
+ target : ${{ matrix.target }}
86
+ artifact-patterns : ${{ inputs.files }}
87
+ github-token : ${{ secrets.BOT_WORKFLOW_TOKEN }}
88
+
89
+ publish :
90
+ needs : build
91
+ runs-on : ubuntu-latest
92
+ steps :
93
+ - uses : eclipse-zenoh/ci/publish-crates-docker@main
94
+ with :
95
+ repo : ${{ inputs.repo }}
96
+ version : ${{ inputs.version }}
97
+ live-run : ${{ inputs.live-run }}
98
+ files : ${{ inputs.files }}
99
+ registry : ghcr.io
100
+ binary : ${{ inputs.binary }}
101
+ platforms : ${{ inputs.platforms }}
102
+ tags : ${{ inputs.tags }}
103
+ licenses : ${{ inputs.licenses }}
104
+ username : eclipse-zenoh-bot
105
+ password : ${{ secrets.BOT_WORKFLOW_TOKEN }}
You can’t perform that action at this time.
0 commit comments