Skip to content

Commit

Permalink
ci: try to push image
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <[email protected]>
  • Loading branch information
mudler committed May 27, 2024
1 parent 53c5a32 commit db21397
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/image_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,11 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta_aio_dockerhub.outputs.tags }}
labels: ${{ steps.meta_aio_dockerhub.outputs.labels }}

- name: Testing image
if: github.event_name == 'pull_request'
run: |
docker tag localai/localai:${{ steps.meta.outputs.version }} ttl.sh/localai-ci-pr-${{ github.event.number }}:${{ steps.meta.outputs.version }}
docker push ttl.sh/localai-ci-pr-${{ github.event.number }}:${{ steps.meta.outputs.version }}
- name: Latest tag
# run this on branches, when it is a tag and there is a latest-image defined
if: github.event_name != 'pull_request' && inputs.latest-image != '' && github.ref_type == 'tag'
Expand Down

0 comments on commit db21397

Please sign in to comment.