A (very) simple, text only chatbot using Society AI inference endpoint
Update .gitea/workflows/gradio-text-chatbot.yaml
Some checks failed
society-ai-hub-container-cache Actions Demo / build (push) Failing after 19s
Some checks failed
society-ai-hub-container-cache Actions Demo / build (push) Failing after 19s
This commit is contained in:
parent
54c9ecf6c2
commit
0982fe8db9
@ -11,19 +11,31 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Login to ECR
|
||||
- name: Login to container registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ vars.ECR_REGISTRY }}
|
||||
- name: configure AWS Credentials
|
||||
env:
|
||||
DEBUG: 0 # Suppresses debug output
|
||||
|
||||
- name: Configure credentials
|
||||
uses: aws-actions/configure-aws-credentials@v4
|
||||
with:
|
||||
aws-region: ${{ vars.AWS_REGION }}
|
||||
- name: Set up QEMU
|
||||
uses: https://github.com/actions/checkout@v4
|
||||
- name: Set up Docker Buildx
|
||||
env:
|
||||
ACTIONS_STEP_DEBUG: false # Suppresses debug output
|
||||
|
||||
- name: Set up build emulator
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # Minimum output verbosity
|
||||
|
||||
- name: Set up builder
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Build and push Docker image
|
||||
with:
|
||||
debug: false # Suppresses debug output
|
||||
|
||||
- name: Build container image
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
@ -32,10 +44,12 @@ jobs:
|
||||
push: true
|
||||
platforms: "linux/amd64"
|
||||
tags: "${{ vars.ECR_REGISTRY }}/gradio-app:${{ env.REPOSITORY_UUID }}"
|
||||
# cache-from: type=s3,region=${{ vars.AWS_REGION }},bucket=society-ai-hub-container-cache,mode=max
|
||||
# cache-to: type=s3,region=${{ vars.AWS_REGION }},bucket=society-ai-hub-container-cache,mode=max,compress=true
|
||||
cache-from: type=local,src=/tmp/
|
||||
cache-to: type=local,dest=/tmp/
|
||||
env:
|
||||
BUILDKIT_PROGRESS: plain # Plain progress to suppress details
|
||||
|
||||
- name: Deploy App
|
||||
run: |
|
||||
helm -n default upgrade --install ${{ env.REPOSITORY_UUID }} /charts/gradio-app --set imageDigest=${{ steps.docker_build.outputs.digest }} --set uuid=${{ env.REPOSITORY_UUID }}
|
||||
helm -n default upgrade --install ${{ env.REPOSITORY_UUID }} /charts/gradio-app \
|
||||
--set imageDigest=${{ steps.docker_build.outputs.digest }} --set uuid=${{ env.REPOSITORY_UUID }} > /dev/null 2>&1
|
||||
|
Loading…
x
Reference in New Issue
Block a user