@@ -125,7 +125,7 @@ jobs:
125
125
push : true
126
126
tags : |
127
127
${{ env.REGISTRY }}/${{ github.repository }}/${{ env.BACKEND_IMAGE_NAME }}-${{ github.actor }}:latest
128
- ${{ env.REGISTRY }}/${{ github.repository }}/${{ env.BACKEND_IMAGE_NAME }}-${{ github.actor }}:${{ github.sha }}
128
+ ${{ env.REGISTRY }}/${{ github.repository }}/${{ env.BACKEND_IMAGE_NAME }}-${{ github.actor }}:${{ github.sha }}
129
129
labels : ${{ steps.meta.outputs.labels }}
130
130
cache-from : type=local,src=/tmp/.buildx-cache
131
131
cache-to : type=local,dest=/tmp/.buildx-cache-new
@@ -141,7 +141,7 @@ jobs:
141
141
push : true
142
142
tags : |
143
143
${{ env.REGISTRY }}/${{ github.repository }}/${{ env.FRONTEND_IMAGE_NAME }}-${{ github.actor }}:latest
144
- ${{ env.REGISTRY }}/${{ github.repository }}/${{ env.FRONTEND_IMAGE_NAME }}-${{ github.actor }}:${{ github.sha }}
144
+ ${{ env.REGISTRY }}/${{ github.repository }}/${{ env.FRONTEND_IMAGE_NAME }}-${{ github.actor }}:${{ github.sha }}
145
145
labels : ${{ steps.meta.outputs.labels }}
146
146
cache-from : type=local,src=/tmp/.buildx-cache
147
147
cache-to : type=local,dest=/tmp/.buildx-cache-new
@@ -155,14 +155,14 @@ jobs:
155
155
- name : Generate artifact attestation for Rust Backend Image
156
156
uses : actions/attest-build-provenance@v2
157
157
with :
158
- subject-name : ${{ env.REGISTRY }}/${{ env.BACKEND_IMAGE_NAME }}-rust-backend
158
+ subject-name : ${{ env.REGISTRY }}/${{ github.repository }}/${{ env.BACKEND_IMAGE_NAME }}-${{ github.actor }}
159
159
subject-digest : ${{ steps.push_backend.outputs.digest }}
160
160
push-to-registry : true
161
161
162
162
# Generate artifact attestation for Next.js frontend image
163
163
- name : Generate artifact attestation for Next.js Frontend Image
164
164
uses : actions/attest-build-provenance@v2
165
165
with :
166
- subject-name : ${{ env.REGISTRY }}/${{ env.FRONTEND_IMAGE_NAME }}-nextjs-frontend
166
+ subject-name : ${{ env.REGISTRY }}/${{ github.repository }}/${{ env.FRONTEND_IMAGE_NAME }}-${{ github.actor }}
167
167
subject-digest : ${{ steps.push_frontend.outputs.digest }}
168
168
push-to-registry : true
0 commit comments