Skip to content

fix: local dev setup for running backend outside Docker #202

fix: local dev setup for running backend outside Docker

fix: local dev setup for running backend outside Docker #202

Workflow file for this run

name: Docker Build
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-backend:
name: Backend Docker (linux/amd64)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build backend image
uses: docker/build-push-action@v6
with:
context: backend
target: server
platforms: linux/amd64
cache-from: type=gha,scope=backend
cache-to: type=gha,scope=backend,mode=max
outputs: type=cacheonly
build-frontend:
name: Frontend Docker (linux/amd64)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build frontend image
uses: docker/build-push-action@v6
with:
context: frontend
platforms: linux/amd64
cache-from: type=gha
cache-to: type=gha,mode=max
outputs: type=cacheonly