File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 21
21
workflow_dispatch :
22
22
23
23
env :
24
- REGISTRY : europe-north1-docker.pkg.dev/artifact-registry-5n/dapla-stat-docker/maskinporten-guardian
24
+ REGISTRY : europe-north1-docker.pkg.dev/artifact-registry-5n/dapla-stat-docker
25
25
IMAGE : maskinporten-guardian
26
- TAG : ${{ github.sha }}
27
-
28
26
29
27
jobs :
30
28
docker-build :
34
32
id-token : " write"
35
33
runs-on : ubuntu-latest
36
34
outputs :
37
- image-tag : ${{ env.DOCKER_IMAGE }}
35
+ image : ${{ env.DOCKER_IMAGE }}
36
+ image-digest : ${{ steps.docker_build.outputs.digest }}
38
37
steps :
39
38
- name : Setup Maven Action # Composite action
40
39
45
44
46
45
- name : Set docker image env var
47
46
run : |
48
- echo "DOCKER_IMAGE=${REGISTRY}/${IMAGE}:${TAG} " >> $GITHUB_ENV
47
+ echo "DOCKER_IMAGE=${REGISTRY}/${IMAGE}" >> $GITHUB_ENV
49
48
- name : " Authenticate to Google Cloud"
50
49
id : " auth"
51
50
uses :
" google-github-actions/[email protected] "
@@ -123,5 +122,5 @@ jobs:
123
122
env :
124
123
CLUSTER : test
125
124
RESOURCE : .nais/test.yaml
126
- VAR : image=${{ needs.docker-build.outputs.image-tag }}
125
+ VAR : image=${{ needs.docker-build.outputs.image }}@${{ needs.docker-build.outputs.image-digest }}
127
126
DEPLOY_SERVER : deploy.ssb.cloud.nais.io:443
You can’t perform that action at this time.
0 commit comments