Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
fix7
Browse files Browse the repository at this point in the history
  • Loading branch information
poroshinaleksei committed Nov 29, 2023
1 parent 13077ff commit d4236c8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
- name: Test code
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
- name: build code
Expand All @@ -47,8 +47,6 @@ jobs:
id: docker-push
with:
team: dusseldorf
push_image: true
pull: true
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }}
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}

Expand All @@ -65,7 +63,7 @@ jobs:
CLUSTER: dev-gcp
RESOURCE: nais/naiserator.yml
VARS: nais/dev-gcp.json
IMAGE: ${{ needs.build-code-and-push-docker.outputs.docker-push.outputs.image }}
IMAGE: ${{ needs.build-code-and-push-docker.outputs.image }}

deploy-prod-gcp:
name: deploy-prod-gcp
Expand All @@ -80,4 +78,4 @@ jobs:
CLUSTER: prod-gcp
RESOURCE: nais/naiserator.yml
VARS: nais/prod-gcp.json
IMAGE: ${{ needs.build-code-and-push-docker.outputs.docker-push.outputs.image }}
IMAGE: ${{ needs.build-code-and-push-docker.outputs.image }}

0 comments on commit d4236c8

Please sign in to comment.