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 }}
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 :
4749 steps :
4850 - uses : actions/checkout@v4
4951 with :
50- ref : ${{ inputs.tag }}
52+ # ref: ${{ inputs.tag }}
53+ ref : v.6.0.0
5154 - name : Install the latest version of rye
5255 uses : eifinger/setup-rye@v2
5356 with :
8083 - uses : actions/checkout@v4
8184 with :
8285 token : ${{ secrets.ACTIONS_ACCESS_TOKEN }}
83- ref : ${{ inputs.tag }}
86+ # ref: ${{ inputs.tag }}
87+ ref : v.6.0.0
8488 - uses : ./.github/actions/python-package-shared-setup
8589 with :
8690 rye-version : ${{ vars.RYE_VERSION }}
@@ -135,7 +139,8 @@ jobs:
135139 steps :
136140 - uses : actions/checkout@v4
137141 with :
138- ref : ${{ inputs.tag }}
142+ # ref: ${{ inputs.tag }}
143+ ref : v.6.0.0
139144 - name : Set up Docker Buildx
140145 uses : docker/setup-buildx-action@v3
141146 - name : Log in to the Container registry
@@ -157,9 +162,9 @@ jobs:
157162 linux/arm64
158163 tags : |
159164 ghcr.io/labelbox/${{ matrix.package }}:latest
160- ghcr.io/labelbox/${{ matrix.package }}:${{ inputs.tag }}
165+ ghcr.io/labelbox/${{ matrix.package }}:v.6.0.0
161166 - name : Output image
162167 id : image
163168 run : |
164169 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