Skip to content

[PR #] [Marketing Sample] Build frontend and backend containers #3

[PR #] [Marketing Sample] Build frontend and backend containers

[PR #] [Marketing Sample] Build frontend and backend containers #3

run-name: '[PR #${{github.event.pull_request.number}}] [Marketing Sample] Build frontend and backend containers'
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build the backend
run: |
docker build -t marketing-backend -f samples/marketing/src/backend/Dockerfile .
shell: pwsh
- name: Build the frontend
run: |
cd samples/marketing/src/frontend/
docker build -t marketing-frontend .
shell: pwsh