Skip to content

Commit

Permalink
Use short revision
Browse files Browse the repository at this point in the history
  • Loading branch information
ushitora-anqou committed Nov 4, 2023
1 parent 1d9332f commit 3ea4c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- id: meta2
run: echo -e "revision=$(git rev-parse HEAD)\nversion=$(git describe --tags)" >> "$GITHUB_OUTPUT"
run: echo -e "revision=$(git rev-parse --short HEAD)\nversion=$(git describe --tags)" >> "$GITHUB_OUTPUT"

- name: Build and push Docker image
uses: docker/build-push-action@v5.0.0
Expand Down

0 comments on commit 3ea4c65

Please sign in to comment.