1
1
name : LBox Publish
2
2
3
3
on :
4
- workflow_dispatch :
5
- inputs :
6
- tag :
7
- description : ' Release Tag'
8
- required : true
9
- default : ' v6.0.0'
4
+ pull_request :
5
+ branches : [develop]
6
+ # workflow_dispatch:
7
+ # inputs:
8
+ # tag:
9
+ # description: 'Release Tag'
10
+ # required: true
11
+ # default: 'v6.0.0'
10
12
11
13
concurrency :
12
14
group : ${{ github.workflow }}-${{ github.ref }}
@@ -19,16 +21,18 @@ jobs:
19
21
path-filter :
20
22
runs-on : ubuntu-latest
21
23
outputs :
22
- lbox : ${{ steps.filter.outputs.lbox }}
24
+ lbox : ${{ true }}
23
25
test-matrix : ${{ steps.matrix.outputs.test-matrix }}
24
26
package-matrix : ${{ steps.matrix.outputs.publish-matrix }}
25
27
steps :
26
28
- uses : actions/checkout@v4
27
29
with :
28
- ref : ${{ github.head_ref }}
30
+ # ref: ${{ inputs.tag }}
31
+ ref : v.6.0.0
29
32
- uses : dorny/paths-filter@v3
30
33
id : filter
31
34
with :
35
+ ref : v.6.0.0
32
36
list-files : ' json'
33
37
filters : |
34
38
lbox:
47
51
steps :
48
52
- uses : actions/checkout@v4
49
53
with :
50
- ref : ${{ inputs.tag }}
54
+ # ref: ${{ inputs.tag }}
55
+ ref : v.6.0.0
51
56
- name : Install the latest version of rye
52
57
uses : eifinger/setup-rye@v2
53
58
with :
80
85
- uses : actions/checkout@v4
81
86
with :
82
87
token : ${{ secrets.ACTIONS_ACCESS_TOKEN }}
83
- ref : ${{ inputs.tag }}
88
+ # ref: ${{ inputs.tag }}
89
+ ref : v.6.0.0
84
90
- uses : ./.github/actions/python-package-shared-setup
85
91
with :
86
92
rye-version : ${{ vars.RYE_VERSION }}
@@ -135,7 +141,8 @@ jobs:
135
141
steps :
136
142
- uses : actions/checkout@v4
137
143
with :
138
- ref : ${{ inputs.tag }}
144
+ # ref: ${{ inputs.tag }}
145
+ ref : v.6.0.0
139
146
- name : Set up Docker Buildx
140
147
uses : docker/setup-buildx-action@v3
141
148
- name : Log in to the Container registry
@@ -157,9 +164,9 @@ jobs:
157
164
linux/arm64
158
165
tags : |
159
166
ghcr.io/labelbox/${{ matrix.package }}:latest
160
- ghcr.io/labelbox/${{ matrix.package }}:${{ inputs.tag }}
167
+ ghcr.io/labelbox/${{ matrix.package }}:v.6.0.0
161
168
- name : Output image
162
169
id : image
163
170
run : |
164
171
echo "ghcr.io/labelbox/${{ matrix.package }}:latest" >> "$GITHUB_STEP_SUMMARY"
165
- echo "ghcr.io/labelbox/${{ matrix.package }}:${{ github.sha }} " >> "$GITHUB_STEP_SUMMARY"
172
+ echo "ghcr.io/labelbox/${{ matrix.package }}:v.6.0.0 " >> "$GITHUB_STEP_SUMMARY"
0 commit comments