11name : LBox Publish
22
33on :
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'
1012
1113concurrency :
1214 group : ${{ github.workflow }}-${{ github.ref }}
@@ -19,16 +21,18 @@ jobs:
1921 path-filter :
2022 runs-on : ubuntu-latest
2123 outputs :
22- lbox : ${{ steps.filter.outputs.lbox }}
24+ lbox : ${{ true }}
2325 test-matrix : ${{ steps.matrix.outputs.test-matrix }}
2426 package-matrix : ${{ steps.matrix.outputs.publish-matrix }}
2527 steps :
2628 - uses : actions/checkout@v4
2729 with :
28- ref : ${{ github.head_ref }}
30+ # ref: ${{ inputs.tag }}
31+ ref : v.6.0.0
2932 - uses : dorny/paths-filter@v3
3033 id : filter
3134 with :
35+ ref : v.6.0.0
3236 list-files : ' json'
3337 filters : |
3438 lbox:
4751 steps :
4852 - uses : actions/checkout@v4
4953 with :
50- ref : ${{ inputs.tag }}
54+ # ref: ${{ inputs.tag }}
55+ ref : v.6.0.0
5156 - name : Install the latest version of rye
5257 uses : eifinger/setup-rye@v2
5358 with :
8085 - uses : actions/checkout@v4
8186 with :
8287 token : ${{ secrets.ACTIONS_ACCESS_TOKEN }}
83- ref : ${{ inputs.tag }}
88+ # ref: ${{ inputs.tag }}
89+ ref : v.6.0.0
8490 - uses : ./.github/actions/python-package-shared-setup
8591 with :
8692 rye-version : ${{ vars.RYE_VERSION }}
@@ -135,7 +141,8 @@ jobs:
135141 steps :
136142 - uses : actions/checkout@v4
137143 with :
138- ref : ${{ inputs.tag }}
144+ # ref: ${{ inputs.tag }}
145+ ref : v.6.0.0
139146 - name : Set up Docker Buildx
140147 uses : docker/setup-buildx-action@v3
141148 - name : Log in to the Container registry
@@ -157,9 +164,9 @@ jobs:
157164 linux/arm64
158165 tags : |
159166 ghcr.io/labelbox/${{ matrix.package }}:latest
160- ghcr.io/labelbox/${{ matrix.package }}:${{ inputs.tag }}
167+ ghcr.io/labelbox/${{ matrix.package }}:v.6.0.0
161168 - name : Output image
162169 id : image
163170 run : |
164171 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