Skip to content

Commit 448e9f5

Browse files
committed
chore: add branch to image name
1 parent be90ffa commit 448e9f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/shared-build-and-deploy.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ jobs:
7575
id: image-tag
7676
run: |
7777
name=$(echo "image-${{ matrix.services.imageName }}" | tr '[:upper:]' '[:lower:]')
78-
# value=$(echo "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ matrix.services.imageName }}:${{ env.BRANCH_NAME }}-${{ steps.sha_short.outputs.sha_short }}" | tr '[:upper:]' '[:lower:]')
79-
value=$(echo "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ matrix.services.imageName }}:sha-${{ steps.sha_short.outputs.sha_short }}" | tr '[:upper:]' '[:lower:]')
78+
value=$(echo "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ matrix.services.imageName }}:sha-${{ env.BRANCH_NAME }}-${{ steps.sha_short.outputs.sha_short }}" | tr '[:upper:]' '[:lower:]')
79+
# value=$(echo "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ matrix.services.imageName }}:sha-${{ steps.sha_short.outputs.sha_short }}" | tr '[:upper:]' '[:lower:]')
8080
echo "setting output: $name=$value"
8181
echo "$name=$value" >> $GITHUB_OUTPUT
8282

0 commit comments

Comments
 (0)