File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,14 @@ jobs:
39
39
env :
40
40
SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_AUTH_TOKEN }}
41
41
42
- - uses : nais/docker-build-push@v0
42
+ - name : Build and push to docker registry
43
+ uses : navikt/sif-gha-workflows/.github/actions/maven/build-push-docker-image@main
43
44
id : docker-push
44
45
with :
45
- tag : ' latest'
46
- team : k9saksbehandling
46
+ without_navikt_prefix : true
47
47
project_id : ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }}
48
48
identity_provider : ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
49
+ push-image : true
49
50
- name : Sett image for nais deploy
50
51
run : |
51
52
echo "IMAGE=${{steps.docker-push.outputs.image}}" >> $GITHUB_OUTPUT
67
68
needs : build-docker-image
68
69
with :
69
70
tag : ${{ needs.build-docker-image.outputs.tag }}
70
- suites : " frontend"
71
+ suites : ' frontend'
71
72
image_version : ${{ needs.build-docker-image.outputs.tag }}
72
73
73
74
trivy :
Original file line number Diff line number Diff line change @@ -30,13 +30,14 @@ jobs:
30
30
run : yarn build
31
31
32
32
- name : Build and push to docker registry
33
- uses : nais/docker- build-push@v0
33
+ uses : navikt/sif-gha-workflows/.github/actions/maven/ build-push-docker-image@main
34
34
id : docker-push
35
35
with :
36
- tag : ' dev-next1'
37
- team : k9saksbehandling
36
+ additional- tag : ' dev-next1'
37
+ without_navikt_prefix : true
38
38
project_id : ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }}
39
39
identity_provider : ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
40
+ push-image : true
40
41
- name : Deploy to nais
41
42
uses : nais/deploy/actions/deploy@v2
42
43
env :
You can’t perform that action at this time.
0 commit comments