Skip to content

Commit 1eada3c

Browse files
committed
Outputter imagenavn fra deploy-dev inn i deploy-prod
1 parent 32435cf commit 1eada3c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-master.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
needs: [ build, test ]
6262
environment: "dev-fss:k9saksbehandling"
6363
concurrency: "dev-fss:k9saksbehandling"
64+
outputs:
65+
image: ${{ needs.build.outputs.image }}
6466
steps:
6567
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v3
6668
- name: Deploy til dev-fss
@@ -82,7 +84,7 @@ jobs:
8284
- name: Deploy til prod-fss
8385
uses: nais/deploy/actions/deploy@c73efa8384743a5c14b94d4a4b9c1cf5a260b532 # ratchet:nais/deploy/actions/deploy@v2
8486
env:
85-
IMAGE: ${{ needs.build.outputs.image }}
87+
IMAGE: ${{ needs.deploy-dev.outputs.image }}
8688
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
8789
CLUSTER: prod-fss
8890
RESOURCE: nais/naiserator.yaml

0 commit comments

Comments
 (0)