Skip to content

add prod endpoint

add prod endpoint #6

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
REGISTRY: ghcr.io
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repo
uses: actions/checkout@v4
- 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 the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push UI
uses: docker/build-push-action@v5
with:
context: ./ui/.
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/kenahrens/ai-testing-ui:latest
- name: Build and push API
uses: docker/build-push-action@v5
with:
context: ./api/.
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/kenahrens/ai-testing-api:latest