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,13 +21,14 @@ 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.5.2.0
2932 - uses : dorny/paths-filter@v3
3033 id : filter
3134 with :
4750 steps :
4851 - uses : actions/checkout@v4
4952 with :
50- ref : ${{ inputs.tag }}
53+ # ref: ${{ inputs.tag }}
54+ ref : v.5.2.0
5155 - name : Install the latest version of rye
5256 uses : eifinger/setup-rye@v2
5357 with :
8084 - uses : actions/checkout@v4
8185 with :
8286 token : ${{ secrets.ACTIONS_ACCESS_TOKEN }}
83- ref : ${{ inputs.tag }}
87+ # ref: ${{ inputs.tag }}
88+ ref : v.5.2.0
8489 - uses : ./.github/actions/python-package-shared-setup
8590 with :
8691 rye-version : ${{ vars.RYE_VERSION }}
@@ -135,7 +140,8 @@ jobs:
135140 steps :
136141 - uses : actions/checkout@v4
137142 with :
138- ref : ${{ inputs.tag }}
143+ # ref: ${{ inputs.tag }}
144+ ref : v.5.2.0
139145 - name : Set up Docker Buildx
140146 uses : docker/setup-buildx-action@v3
141147 - name : Log in to the Container registry
@@ -157,9 +163,9 @@ jobs:
157163 linux/arm64
158164 tags : |
159165 ghcr.io/labelbox/${{ matrix.package }}:latest
160- ghcr.io/labelbox/${{ matrix.package }}:${{ inputs.tag }}
166+ ghcr.io/labelbox/${{ matrix.package }}:v.5.2.0
161167 - name : Output image
162168 id : image
163169 run : |
164170 echo "ghcr.io/labelbox/${{ matrix.package }}:latest" >> "$GITHUB_STEP_SUMMARY"
165- echo "ghcr.io/labelbox/${{ matrix.package }}:${{ github.sha }} " >> "$GITHUB_STEP_SUMMARY"
171+ echo "ghcr.io/labelbox/${{ matrix.package }}:v.5.2.0 " >> "$GITHUB_STEP_SUMMARY"
0 commit comments