Skip to content

Commit

Permalink
no shortening
Browse files Browse the repository at this point in the history
  • Loading branch information
mkysel committed Dec 20, 2024
1 parent 647f7fc commit 7d15f60
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-xmtpd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ jobs:
echo "Unknown image: ${{ matrix.image }}"
exit 1
fi
- uses: benjlevesque/[email protected]
id: short-sha
- name: Build and push Docker image
uses: docker/build-push-action@v6
id: push
Expand All @@ -64,7 +62,7 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: "GIT_COMMIT=dev-${{ steps.short-sha.outputs.sha }}"
build-args: "GIT_COMMIT=dev-${{ github.event_name != 'pull_request' && github.sha || github.event.pull_request.head.sha }}"

- name: Set xmtpd digest output
if: ${{ matrix.image == 'xmtpd' }}
Expand Down

0 comments on commit 7d15f60

Please sign in to comment.