[PR #] [Marketing Sample] Build frontend and backend containers #3
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
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 |