[READ-ONLY] Mirror of https://github.com/just-cameron/letta-libre. A fork of libre chat for Letta.
0

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ‹ chore: Add Workflow for Docker Dev Staging Images Build

+66
+66
.github/workflows/dev-staging-images.yml
··· 1 + name: Docker Dev Staging Images Build 2 + 3 + on: 4 + workflow_dispatch: 5 + 6 + jobs: 7 + build: 8 + runs-on: ubuntu-latest 9 + strategy: 10 + matrix: 11 + include: 12 + - target: api-build 13 + file: Dockerfile.multi 14 + image_name: lc-dev-staging-api 15 + - target: node 16 + file: Dockerfile 17 + image_name: lc-dev-staging 18 + 19 + steps: 20 + # Check out the repository 21 + - name: Checkout 22 + uses: actions/checkout@v4 23 + 24 + # Set up QEMU 25 + - name: Set up QEMU 26 + uses: docker/setup-qemu-action@v3 27 + 28 + # Set up Docker Buildx 29 + - name: Set up Docker Buildx 30 + uses: docker/setup-buildx-action@v3 31 + 32 + # Log in to GitHub Container Registry 33 + - name: Log in to GitHub Container Registry 34 + uses: docker/login-action@v2 35 + with: 36 + registry: ghcr.io 37 + username: ${{ github.actor }} 38 + password: ${{ secrets.GITHUB_TOKEN }} 39 + 40 + # Login to Docker Hub 41 + - name: Login to Docker Hub 42 + uses: docker/login-action@v3 43 + with: 44 + username: ${{ secrets.DOCKERHUB_USERNAME }} 45 + password: ${{ secrets.DOCKERHUB_TOKEN }} 46 + 47 + # Prepare the environment 48 + - name: Prepare environment 49 + run: | 50 + cp .env.example .env 51 + 52 + # Build and push Docker images for each target 53 + - name: Build and push Docker images 54 + uses: docker/build-push-action@v5 55 + with: 56 + context: . 57 + file: ${{ matrix.file }} 58 + push: true 59 + tags: | 60 + ghcr.io/${{ github.repository_owner }}/${{ matrix.image_name }}:${{ github.sha }} 61 + ghcr.io/${{ github.repository_owner }}/${{ matrix.image_name }}:latest 62 + ${{ secrets.DOCKERHUB_USERNAME }}/${{ matrix.image_name }}:${{ github.sha }} 63 + ${{ secrets.DOCKERHUB_USERNAME }}/${{ matrix.image_name }}:latest 64 + platforms: linux/amd64,linux/arm64 65 + target: ${{ matrix.target }} 66 +