ny deploy test

Co-authored-by: Amalie Erdal Mansaker <amalie.erdal.mansaker@nav.no>
This commit is contained in:
sindrekjelsrud 2023-06-28 16:28:15 +02:00
parent cc7ba72ca2
commit aa7b8b1e97

View file

@ -6,6 +6,9 @@ on:
- "main"
env:
"IMAGE": "ghcr.io/${{ github.repository }}:${{ github.sha }}"
defaults:
run:
working-directory: frontend
jobs:
"build":
name: "build"
@ -29,7 +32,7 @@ jobs:
uses: "docker/build-push-action@v2"
with:
context: .
file: frontend/Dockerfile
file: Dockerfile
tags: "${{ env.IMAGE }}"
push: "true"
"deploy":
@ -43,4 +46,4 @@ jobs:
env:
"APIKEY": "${{ secrets.NAIS_DEPLOY_APIKEY }}"
"CLUSTER": "dev-gcp"
"RESOURCE": "frontend/nais.yml"
"RESOURCE": "nais.yml"