Skip to content

Commit 371b840

Browse files
committed
Merge remote-tracking branch 'origin' into ts-strict-part3
2 parents f5aeca0 + 18733b7 commit 371b840

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build-image.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ jobs:
7171
image: ${{ steps.docker-push.outputs.image }}
7272
steps:
7373
- name: Checkout repo
74-
uses: actions/checkout@v3
74+
uses: actions/checkout@v4
7575
- name: Setup node.js
76-
uses: actions/setup-node@v3
76+
uses: actions/setup-node@v4
7777
with:
7878
node-version: '20'
7979
registry-url: 'https://npm.pkg.github.com'
@@ -98,7 +98,7 @@ jobs:
9898
NEXT_TELEMETRY_DISABLED=1
9999
EOF
100100
- name: Nextjs cache
101-
uses: actions/cache@v3
101+
uses: actions/cache@v4
102102
with:
103103
path: ${{ github.workspace }}/.next/cache
104104
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}
@@ -115,11 +115,13 @@ jobs:
115115
env:
116116
SERVICE_SECRET: ${{ secrets.SERVICE_SECRET }}
117117
- name: Upload static files to NAV CDN
118-
uses: navikt/frontend/actions/cdn-upload/v1@main
118+
uses: navikt/frontend/actions/cdn-upload/v2
119119
with:
120-
cdn-team-name: personbruker
120+
team: personbruker
121121
source: ./.next/static
122122
destination: nav-enonicxp-frontend/_next
123+
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }}
124+
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
123125
- name: Build and push docker image
124126
uses: nais/docker-build-push@v0
125127
id: docker-push

0 commit comments

Comments
 (0)