Skip to content
name: Build, Push, and Deploy Open GPTS
on:
push:
branches: [main, infra/update-dockerfile]
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Short Hash
run: |
echo "GIT_SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Set up depot.dev multi-arch runner
uses: depot/setup-action@v1
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.LANGCHAIN_DOCKERHUB_USERNAME }}
password: ${{ secrets.LANGCHAIN_DOCKERHUB_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true

Check failure on line 35 in .github/workflows/build_deploy_image.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_deploy_image.yml

Invalid workflow file

You have an error in your yaml syntax on line 35
tags: [docker.io/langchain/open-gpts:${{ env.GIT_SHORT_SHA }}, docker.io/langchain/open-gpts:latest]