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 }}
47
49
steps :
48
50
- uses : actions/checkout@v4
49
51
with :
50
- ref : ${{ inputs.tag }}
52
+ # ref: ${{ inputs.tag }}
53
+ ref : v.6.0.0
51
54
- name : Install the latest version of rye
52
55
uses : eifinger/setup-rye@v2
53
56
with :
80
83
- uses : actions/checkout@v4
81
84
with :
82
85
token : ${{ secrets.ACTIONS_ACCESS_TOKEN }}
83
- ref : ${{ inputs.tag }}
86
+ # ref: ${{ inputs.tag }}
87
+ ref : v.6.0.0
84
88
- uses : ./.github/actions/python-package-shared-setup
85
89
with :
86
90
rye-version : ${{ vars.RYE_VERSION }}
@@ -135,7 +139,8 @@ jobs:
135
139
steps :
136
140
- uses : actions/checkout@v4
137
141
with :
138
- ref : ${{ inputs.tag }}
142
+ # ref: ${{ inputs.tag }}
143
+ ref : v.6.0.0
139
144
- name : Set up Docker Buildx
140
145
uses : docker/setup-buildx-action@v3
141
146
- name : Log in to the Container registry
@@ -157,9 +162,9 @@ jobs:
157
162
linux/arm64
158
163
tags : |
159
164
ghcr.io/labelbox/${{ matrix.package }}:latest
160
- ghcr.io/labelbox/${{ matrix.package }}:${{ inputs.tag }}
165
+ ghcr.io/labelbox/${{ matrix.package }}:v.6.0.0
161
166
- name : Output image
162
167
id : image
163
168
run : |
164
169
echo "ghcr.io/labelbox/${{ matrix.package }}:latest" >> "$GITHUB_STEP_SUMMARY"
165
- echo "ghcr.io/labelbox/${{ matrix.package }}:${{ github.sha }} " >> "$GITHUB_STEP_SUMMARY"
170
+ echo "ghcr.io/labelbox/${{ matrix.package }}:v.6.0.0 " >> "$GITHUB_STEP_SUMMARY"
0 commit comments