Skip to content

Commit 0591a98

Browse files
committed
Add time to docker tag, and use UTC
1 parent a07aa78 commit 0591a98

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 +%Y%m%d)-$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
94+
- run: echo "IMAGE_TAG=$(date --utc +%Y%m%d_%H%M%S)-$(git rev-list HEAD --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)