From c5b558b9fd677c20d1777ffb59a42a7483b95ce6 Mon Sep 17 00:00:00 2001 From: John Wesley Walker III <81404201+jww3@users.noreply.github.com> Date: Tue, 20 Feb 2024 20:45:05 +0100 Subject: [PATCH] Format timestamp with four-digit year --- .github/workflows/update-test-ubuntu-git.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-test-ubuntu-git.yml b/.github/workflows/update-test-ubuntu-git.yml index f7ce8c2..8481243 100644 --- a/.github/workflows/update-test-ubuntu-git.yml +++ b/.github/workflows/update-test-ubuntu-git.yml @@ -40,7 +40,7 @@ jobs: - name: Format Timestamp id: timestamp # Use `date` with a custom format to achieve the key=value format GITHUB_OUTPUT expects. - run: date -u "+now=%y%m%d.%H%M%S.%3NZ" >> "$GITHUB_OUTPUT" + run: date -u "+now=%Y%m%d.%H%M%S.%3NZ" >> "$GITHUB_OUTPUT" # Use `docker/build-push-action` to build (and optionally publish) the image. - name: Build and push Docker image