feat: reasoning model support and docs rewrite #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - image: skyfloaiagent/engine | |
| dockerfile: deployment/engine/Dockerfile | |
| - image: skyfloaiagent/ui | |
| dockerfile: deployment/ui/Dockerfile | |
| - image: skyfloaiagent/mcp | |
| dockerfile: deployment/mcp/Dockerfile | |
| - image: skyfloaiagent/proxy | |
| dockerfile: deployment/ui/proxy.Dockerfile | |
| - image: skyfloaiagent/k8s-controller | |
| dockerfile: deployment/kubernetes-controller/Dockerfile | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Extract version metadata | |
| id: meta | |
| run: | | |
| TAG="${GITHUB_REF_NAME}" | |
| IS_TEST="false" | |
| if [[ "$TAG" == *"test"* ]]; then | |
| IS_TEST="true" | |
| fi | |
| { | |
| echo "tag=${TAG}" | |
| echo "version=${TAG#v}" | |
| echo "sha_short=${GITHUB_SHA::7}" | |
| echo "is_test=${IS_TEST}" | |
| } >> "$GITHUB_OUTPUT" | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Log in to Docker Hub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - name: Compute image tags | |
| id: tags | |
| run: | | |
| TAGS="${{ matrix.image }}:${{ steps.meta.outputs.tag }}" | |
| TAGS="${TAGS},${{ matrix.image }}:sha-${{ steps.meta.outputs.sha_short }}" | |
| if [ "${{ steps.meta.outputs.is_test }}" != "true" ]; then | |
| TAGS="${TAGS},${{ matrix.image }}:latest" | |
| fi | |
| echo "tags=${TAGS}" >> "$GITHUB_OUTPUT" | |
| - name: Build and push image | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: ${{ matrix.dockerfile }} | |
| platforms: linux/amd64,linux/arm64 | |
| push: true | |
| tags: ${{ steps.tags.outputs.tags }} | |
| labels: | | |
| org.opencontainers.image.version=${{ steps.meta.outputs.version }} | |
| org.opencontainers.image.revision=${{ github.sha }} | |
| org.opencontainers.image.source=https://github.com/${{ github.repository }} | |
| build-args: | | |
| APP_VERSION=${{ steps.meta.outputs.version }} | |
| NEXT_PUBLIC_APP_VERSION=${{ steps.meta.outputs.version }} |