Skip to content

Commit b6064a1

Browse files
committed
fix: image name
1 parent 448e9f5 commit b6064a1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,15 @@ jobs:
6767
uses: docker/build-push-action@v6
6868
with:
6969
context: ./
70-
push: ${{ github.event_name != 'pull_request' }}
70+
# push: ${{ github.event_name != 'pull_request' }}
7171
tags: ${{ steps.meta.outputs.tags }}
7272
labels: ${{ steps.meta.outputs.labels }}
7373

7474
- name: Output image tag
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 }}: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:]')
78+
value=$(echo "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ matrix.services.imageName }}:sha-${{ steps.sha_short.outputs.sha_short }}" | tr '[:upper:]' '[:lower:]')
8079
echo "setting output: $name=$value"
8180
echo "$name=$value" >> $GITHUB_OUTPUT
8281

0 commit comments

Comments
 (0)