fix: building docker images from the compose #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Docker Images | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-api: | |
name: Build API Image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v4 | |
- name: Setup buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build Docker image | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./apps/api | |
file: Dockerfile | |
push: false | |
load: true | |
tags: trieve/firecrawl:pr-${{ github.event.number }} | |
build-args: | | |
PORT=8080 | |
build-puppeteer: | |
name: Build Puppeteer Service | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v4 | |
- name: Setup buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build Docker image | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./apps/puppeteer-service-ts/ | |
file: Dockerfile | |
push: false | |
load: true | |
tags: trieve/puppeteer-service-ts:pr-${{ github.event.number }} | |
build-args: | | |
PORT=3000 |