Build prod-sbs image - HUSK MANUELL DEPLOY TIL PROD! #542
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
name: Build prod-sbs image - HUSK MANUELL DEPLOY TIL PROD! | |
on: | |
workflow_run: | |
workflows: ["Build code and run test"] | |
branches: | |
- master | |
- 'pre-next' | |
types: | |
- completed | |
jobs: | |
build-image: | |
name: "Build prod-sbs Image" | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
packages: write | |
actions: write | |
env: | |
NEXT_PUBLIC_DIGISOS_ENV: prod-sbs | |
DOCKER_IMAGE: ghcr.io/${{ github.repository }}/${{ github.event.repository.name }} | |
READER_TOKEN: ${{ secrets.READER_TOKEN }} | |
WORKFLOW_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: "Build Docker Image" | |
uses: navikt/sosialhjelp-soknad/.github/actions/build-image@master | |
with: | |
prefix: ${{ env.NEXT_PUBLIC_DIGISOS_ENV }} |