Skip to content

Commit be90ffa

Browse files
committed
fix: image name
1 parent cff0aea commit be90ffa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +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:]')
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:]')
7980
echo "setting output: $name=$value"
8081
echo "$name=$value" >> $GITHUB_OUTPUT
8182

0 commit comments

Comments
 (0)