Skip to content

Commit 574f70e

Browse files
committed
Skriv byosbom fil. Bruk nais/docker-build-push v1
1 parent 749412f commit 574f70e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/deploy.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
build:
1010
permissions:
11-
contents: "read"
11+
contents: "write"
1212
id-token: "write"
1313
name: Build and publish Docker image
1414
runs-on: ubuntu-latest
@@ -30,7 +30,7 @@ jobs:
3030
dependency-graph: generate-and-submit
3131
arguments: --configuration-cache build
3232

33-
- uses: nais/docker-build-push@v0
33+
- uses: nais/docker-build-push@v1
3434
name: docker-build-push
3535
id: docker-build-push
3636
with:
@@ -42,7 +42,6 @@ jobs:
4242
docker_context: . # optional, default .
4343
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
4444
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }}
45-
tag_latest: true # optional, default false
4645
outputs:
4746
image: ${{ steps.docker-build-push.outputs.image }}
4847

0 commit comments

Comments
 (0)