fix: allow alternative vector db engine to be used #508
Workflow file for this run
This file contains 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: build test | Docker image | |
on: pull_request | |
env: | |
AWS_ACCOUNT_ID_DEV: "463722570299" | |
jobs: | |
build_docker: | |
name: Build PromethAI Backend Docker App Image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out PromethAI code | |
uses: actions/checkout@v3 | |
- name: Build PromethAI backend Docker image tag | |
id: backend-docker-tag | |
run: | | |
export SHA_SHORT="$(git rev-parse --short HEAD)" | |
export CUR_DATE="$(date +%Y%m%d%H%M%S)" | |
export VERSION="dev-$CUR_DATE-$SHA_SHORT" | |
image_name="backend" docker_login="false" version="$VERSION" account="${{ env.AWS_ACCOUNT_ID_DEV }}" app_dir="backend" publish="false" ./bin/dockerize | |
export DOCKER_TAG=$(cat /tmp/.DOCKER_IMAGE_VERSION) | |
echo "Successfully built PromethAI backend Docker tag is: $DOCKER_TAG" |