ny deploy test
Co-authored-by: Amalie Erdal Mansaker <amalie.erdal.mansaker@nav.no>
This commit is contained in:
		
							parent
							
								
									cc7ba72ca2
								
							
						
					
					
						commit
						aa7b8b1e97
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		
							
								
								
									
										7
									
								
								.github/workflows/build-and-deploy.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/build-and-deploy.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -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" | ||||
		Reference in a new issue
	
	 sindrekjelsrud
						sindrekjelsrud