From 185d5c2c60cd93ed3b701efebd0ddd9ddc3f88ec Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Sat, 23 Aug 2025 01:12:48 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7(agents)=20add=20meet-agents=20imag?= =?UTF-8?q?e=20build=20and=20push=20to=20CI=20docker=20hub?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implement CI build and push workflow for meet-agents Docker image, following the same pattern established by the summary image. Extends CI pipeline to include meet-agents image distribution through dockerhub for consistent deployment infrastructure. --- .github/workflows/docker-hub.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.github/workflows/docker-hub.yml b/.github/workflows/docker-hub.yml index be619a85..662a03af 100644 --- a/.github/workflows/docker-hub.yml +++ b/.github/workflows/docker-hub.yml @@ -145,12 +145,41 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + build-and-push-agents: + runs-on: ubuntu-latest + steps: + - + name: Checkout repository + uses: actions/checkout@v4 + - + name: Docker meta + id: meta + uses: docker/metadata-action@v5 + with: + images: lasuite/meet-agents + - + name: Login to DockerHub + if: github.event_name != 'pull_request' + run: echo "${{ secrets.DOCKER_HUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_HUB_USER }}" --password-stdin + - + name: Build and push + uses: docker/build-push-action@v6 + with: + context: ./src/agents + file: ./src/agents/Dockerfile + target: production + build-args: DOCKER_USER=${{ env.DOCKER_USER }}:-1000 + push: ${{ github.event_name != 'pull_request' }} + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + notify-argocd: needs: - build-and-push-frontend-generic - build-and-push-frontend-dinum - build-and-push-backend - build-and-push-summary + - build-and-push-agents runs-on: ubuntu-latest if: github.event_name != 'pull_request' steps: