Skip to content

chore(deps): update dependency langchain-community to v0.3.12 #666

chore(deps): update dependency langchain-community to v0.3.12

chore(deps): update dependency langchain-community to v0.3.12 #666

Workflow file for this run

name: Build and Tag Docker Image
on:
push:
branches:
- '**' # Run on all branches
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
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: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Determine Docker Tags
id: docker_tags
run: |
if [ "${{ github.ref_name }}" == "main" ]; then
echo "tags=${{ secrets.DOCKERHUB_USERNAME }}/yotube-gpt:latest" >> $GITHUB_ENV
else
echo "tags=${{ secrets.DOCKERHUB_USERNAME }}/yotube-gpt:${{ github.ref_name }}" >> $GITHUB_ENV
echo "tags=${{ secrets.DOCKERHUB_USERNAME }}/yotube-gpt:${{ github.sha }}" >> $GITHUB_ENV
fi
- name: Build and Push Docker Image
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.tags }}
labels: |
org.opencontainers.image.source=${{ github.repository }}
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}