Skip to content

Commit 4d81a33

Browse files
committed
Use ${{ github.sha }} instead of HEAD
1 parent 1e0f9a1 commit 4d81a33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docker-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
- name: Set up Docker Buildx
9292
uses: docker/setup-buildx-action@v3
9393

94-
- run: echo "IMAGE_TAG=$(date --utc +%Y%m%d)-$(git rev-list HEAD --count)" >> "$GITHUB_ENV"
94+
- run: echo "IMAGE_TAG=$(date --utc +%Y%m%d)-$(git rev-list ${{ github.sha }} --count)" >> "$GITHUB_ENV"
9595

9696
- name: Create manifest list and push
9797
# inside the ${{ runner.temp }}/digests we downloaded empty files with the sha256 digest of the image as the filename

0 commit comments

Comments
 (0)