Skip to content

Commit

Permalink
test: remove after testing
Browse files Browse the repository at this point in the history
  • Loading branch information
paopa committed Jul 11, 2024
1 parent 82de0ac commit a9b00dd
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/ai-service-release-stable-image.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: AI Service Release stable image

on:
push:
branches: [chore/ci-enhancement]
workflow_dispatch:
inputs:
version:
Expand Down Expand Up @@ -47,7 +49,7 @@ jobs:
echo "CHANGE_LOG=$CHANGE_LOG" >> $GITHUB_ENV
- name: Upgrade AI Service version
run: |
version=${{ github.event.inputs.version }}
version=${{ github.event.inputs.version || '0.7.2b0' }}
poetry version --next-phase $version
git add pyproject.toml
git commit -m "Upgrade AI Service version to $version"
Expand Down Expand Up @@ -75,13 +77,5 @@ jobs:
with:
images: ghcr.io/canner/wren-ai-service
tags: |
type=raw,${{ github.event.inputs.version }}
type=raw,latest
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
context: ./wren-ai-service
file: ./wren-ai-service/docker/Dockerfile
type=raw,${{ github.event.inputs.version || '0.7.2b0' }}
# - name: Build and push # uses: docker/build-push-action@v6 # with: # push: true # platforms: linux/amd64,linux/arm64 # tags: ${{ steps.meta.outputs.tags }} # context: ./wren-ai-service # file: ./wren-ai-service/docker/Dockerfile

0 comments on commit a9b00dd

Please sign in to comment.