Skip to content

Commit a4c34cb

Browse files
committed
6601: Fixed build image names in actions - II
1 parent 6b6c291 commit a4c34cb

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/github_build_release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
tags: |
103103
type=raw,value=${{ github.ref_name }}
104104
105-
- name: Build and push Docker image
105+
- name: Build and push Docker image (main)
106106
id: push-main
107107
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
108108
with:
@@ -116,10 +116,10 @@ jobs:
116116
provenance: mode=max
117117
sbom: true
118118

119-
- name: Generate artifact attestation
119+
- name: Generate artifact attestation (main)
120120
uses: actions/attest-build-provenance@v3
121121
with:
122-
subject-name: ${{ env.REGISTRY }}/os2display-api-service
122+
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_MAIN }}
123123
subject-digest: ${{ steps.push-main.outputs.digest }}
124124
push-to-registry: true
125125

@@ -132,7 +132,7 @@ jobs:
132132
tags: |
133133
type=raw,value=${{ github.ref_name }}
134134
135-
- name: Build and push Docker image
135+
- name: Build and push Docker image (nginx)
136136
id: push-nginx
137137
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
138138
with:
@@ -148,9 +148,9 @@ jobs:
148148
provenance: mode=max
149149
sbom: true
150150

151-
- name: Generate artifact attestation
151+
- name: Generate artifact attestation (nginx)
152152
uses: actions/attest-build-provenance@v3
153153
with:
154-
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_NGINX}}
154+
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_NGINX }}
155155
subject-digest: ${{ steps.push-nginx.outputs.digest }}
156156
push-to-registry: true

0 commit comments

Comments
 (0)