Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

feat: add worker to cd pipeline (#1609)

Max Deichmann7fac267135ae
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index a9f3e3039c..8824c3251c 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -193,7 +193,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
- id: meta
+ id: meta-web
uses: docker/metadata-action@v4
with:
images: |
@@ -206,11 +206,34 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- - name: Build and push Docker image
+ - name: Build and push Docker image (web)
uses: docker/build-push-action@v4
with:
context: .
file: ./web/Dockerfile
push: true
- tags: ${{ steps.meta.outputs.tags }}
- labels: ${{ steps.meta.outputs.labels }}
+ tags: ${{ steps.meta-web.outputs.tags }}
+ labels: ${{ steps.meta-web.outputs.labels }}
+
+ - name: Extract metadata (tags, labels) for Docker
+ id: meta-worker
+ uses: docker/metadata-action@v4
+ with:
+ images: |
+ ${{ env.REGISTRY }}/${{ github.repository }}-worker
+ tags: |
+ type=ref,event=branch
+ type=ref,event=pr
+ type=sha
+ type=semver,pattern={{version}}
+ type=semver,pattern={{major}}.{{minor}}
+ type=semver,pattern={{major}}
+
+ - name: Build and push Docker image (worker)
+ uses: docker/build-push-action@v4
+ with:
+ context: .
+ file: ./worker/Dockerfile
+ push: true
+ tags: ${{ steps.meta-worker.outputs.tags }}
+ labels: ${{ steps.meta-worker.outputs.labels }}