Skip to content

Revert "Pushback i lesing av hendelser fra fpsak (#1981)" (#1985) #694

Revert "Pushback i lesing av hendelser fra fpsak (#1981)" (#1985)

Revert "Pushback i lesing av hendelser fra fpsak (#1981)" (#1985) #694

Workflow file for this run

name: Bygg og deploy
on:
push:
branches:
- '**'
paths-ignore:
- '**.md'
- '**.MD'
- '.gitignore'
- '.editorconfig'
- '.java-version'
- 'LICENSE'
- 'CODEOWNERS'
- 'docs/**'
- '.oracle/**'
- '.github/*.yml'
jobs:
build-app:
name: Build
permissions:
contents: read
packages: write
uses: navikt/fp-gha-workflows/.github/workflows/build-app.yml@main
with:
build-image: ${{ github.ref_name == 'master' }} # default: true
push-image: ${{ github.ref_name == 'master' }} # default: false
secrets: inherit
deploy-dev:
name: Deploy dev
if: github.ref_name == 'master'
needs: build-app
uses: navikt/fp-gha-workflows/.github/workflows/deploy.yml@main
with:
image: ghcr.io/${{ github.repository }}:${{ needs.build-app.outputs.build-version }}
cluster: dev-fss
secrets: inherit
deploy-prod:
name: Deploy prod
if: github.ref_name == 'master'
needs: [build-app, deploy-dev]
uses: navikt/fp-gha-workflows/.github/workflows/deploy.yml@main
with:
image: ghcr.io/${{ github.repository }}:${{ needs.build-app.outputs.build-version }}
cluster: prod-fss
secrets: inherit