add: docker build pipeline for ui #14
Workflow file for this run
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
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "v*" | |
pull_request: | |
workflow_dispatch: | |
# Cancel a workflow from the same PR, branch or tag when a new workflow is triggered. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
# required because error pages use build time env vars, not runtime env vars | |
# it's the same on every environment | |
EMAIL_VARAAMO_EXT_LINK: "https://lomake.hel.fi/varaamo-palaute" | |
jobs: | |
# Build both ui and admin-ui dockers | |
build-ui-docker: | |
name: "Build ui docker" | |
uses: ./.github/workflows/build-docker.yml | |
with: | |
app-name: "ui" | |
base-url: "" | |
secrets: inherit | |
build-admin-ui-docker: | |
name: "Build admin ui docker" | |
uses: ./.github/workflows/build-docker.yml | |
with: | |
app-name: "admin-ui" | |
base-url: "/kasittely" | |
secrets: inherit |