Skip to content

Commit a427c7a

Browse files
committed
Small fixups on CI
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 1545d31 commit a427c7a

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

.github/workflows/image_build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ jobs:
157157
images: |
158158
quay.io/go-skynet/ci-tests
159159
tags: |
160-
type=ref,event=branch,suffix=localai-ci-pr-${{ github.event.number }}
161-
type=semver,pattern={{raw}},suffix=localai-ci-pr-${{ github.event.number }}
162-
type=sha,suffix=localai-ci-pr-${{ github.event.number }}
160+
type=ref,event=branch,suffix=localai${{ github.event.number }}
161+
type=semver,pattern={{raw}},suffix=localai${{ github.event.number }}
162+
type=sha,suffix=localai${{ github.event.number }}
163163
flavor: |
164164
latest=${{ inputs.tag-latest }}
165165
suffix=${{ inputs.tag-suffix }}
@@ -272,7 +272,7 @@ jobs:
272272
- name: Testing image
273273
if: github.event_name == 'pull_request'
274274
run: |
275-
echo "Image is available at quay.io/go-skynet/ci-tests:localai-ci-pr-${{ github.event.number }}:${{ steps.meta_pull_request.outputs.version }}" >> $GITHUB_STEP_SUMMARY
275+
echo "Image is available at quay.io/go-skynet/ci-tests:localai${{ github.event.number }}" >> $GITHUB_STEP_SUMMARY
276276
## End testing image
277277
- name: Build and push AIO image
278278
if: inputs.aio != ''

.github/workflows/python_backend_build.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,16 +109,12 @@ jobs:
109109
images: |
110110
quay.io/go-skynet/ci-tests
111111
tags: |
112-
type=ref,event=branch,suffix=localai-backends-ci-pr-${{ github.event.number }}
113-
type=semver,pattern={{raw}},suffix=localai-backends-ci-pr-${{ github.event.number }}
114-
type=sha,suffix=localai-backends-ci-pr-${{ github.event.number }}
112+
type=ref,event=branch,suffix=${{ github.event.number }}
113+
type=semver,pattern={{raw}},suffix=${{ github.event.number }}
114+
type=sha,suffix=${{ github.event.number }}
115115
flavor: |
116116
latest=${{ inputs.tag-latest }}
117117
suffix=${{ inputs.tag-suffix }}
118-
- name: Testing image
119-
if: github.event_name == 'pull_request'
120-
run: |
121-
echo "Image is available at quay.io/go-skynet/ci-tests:localai-backends-ci-pr-${{ github.event.number }}:${{ steps.meta_pull_request.outputs.version }}" >> $GITHUB_STEP_SUMMARY
122118
## End testing image
123119
- name: Set up QEMU
124120
uses: docker/setup-qemu-action@master
@@ -185,7 +181,7 @@ jobs:
185181
- name: Testing image
186182
if: github.event_name == 'pull_request'
187183
run: |
188-
echo "Image is available at ttl.sh/localai-backends-ci-pr-${{ github.event.number }}:${{ steps.meta_pull_request.outputs.version }}" >> $GITHUB_STEP_SUMMARY
184+
echo "Image is available at quay.io/go-skynet/ci-tests:${{ github.event.number }}" >> $GITHUB_STEP_SUMMARY
189185
190186
- name: Cleanup
191187
run: |

0 commit comments

Comments
 (0)