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 a1c4862 commit 81841a5
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 @@ -54,7 +56,7 @@ jobs:
} >> $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 @@ -82,13 +84,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 81841a5

Please sign in to comment.