Skip to content

Commit

Permalink
Format timestamp with four-digit year
Browse files Browse the repository at this point in the history
  • Loading branch information
jww3 committed Feb 20, 2024
1 parent d586cd8 commit c5b558b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-test-ubuntu-git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5b558b

Please sign in to comment.