error code for existing table creation; (#36) #43
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 Vectordb | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
name: Build Vectordb | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Log in to Docker Hub | |
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Get Current Date | |
id: date | |
run: echo "::set-output name=date::$(date +'%Y%m%d%H%M%S')" | |
- name: Build | |
env: | |
SHA_TAG: ${{ github.sha }} | |
run: | | |
echo "SHA: ${SHA_TAG}" | |
cd ./engine | |
docker build --pull -t epsilla/vectordb:latest . | |
docker push epsilla/vectordb:latest | |
#docker build --pull -t epsilla/vectordb:${SHA_TAG} . | |
echo {{ steps.date.outputs.date }} | |