Skip to content

PL: Endret til riktig farge på infoboks #1416

PL: Endret til riktig farge på infoboks

PL: Endret til riktig farge på infoboks #1416

name: Bygg og deploy Foreldrepengerplanlegger
on:
workflow_dispatch:
push:
paths:
- 'apps/planlegger/**'
- 'packages/**'
- 'server-uinnlogget/**'
- '.deploy/planlegger/**'
- '.deploy/naiserator.yaml'
- '.github/workflows/build-planlegger.yml'
- 'Dockerfile'
- 'docker-bake.hcl'
- 'pnpm-lock.yaml'
jobs:
build-app:
name: Build
permissions:
packages: write
id-token: write
uses: navikt/fp-gha-workflows/.github/workflows/build-docker-bake.yml@main
with:
runs-on: 'ubuntu-latest-4-cores' # default: ubuntu-latest
push-image: ${{ github.ref_name == 'master' }} # default: false
bake-target: 'planlegger'
secrets: inherit
deploy-dev:
name: Deploy dev
permissions:
id-token: write
if: github.ref_name == 'master'
needs: build-app
uses: navikt/fp-gha-workflows/.github/workflows/deploy.yml@main
with:
gar: true
image: ${{ needs.build-app.outputs.build-version }}
cluster: dev-gcp
image_suffix: '/planlegger'
deploy_context: '/planlegger'
secrets: inherit
deploy-prod:
name: Deploy prod
permissions:
id-token: write
if: github.ref_name == 'master'
needs: [build-app, deploy-dev]
uses: navikt/fp-gha-workflows/.github/workflows/deploy.yml@main
with:
gar: true
image: ${{ needs.build-app.outputs.build-version }}
cluster: prod-gcp
image_suffix: '/planlegger'
deploy_context: '/planlegger'
secrets: inherit