Skip to content

Commit

Permalink
ci: also add date as image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Dec 18, 2024
1 parent b47b1e7 commit c42beb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ generate-default-tag tag="latest":
[group('Utility')]
generate-build-tags tag="latest" ghcr="0" $version="" github_event="" github_number="":
#!/usr/bin/bash
set -eou pipefail
set -eoux pipefail

TODAY="$(date +%A)"
if [[ {{ ghcr }} == "0" ]]; then
Expand All @@ -183,6 +183,8 @@ generate-build-tags tag="latest" ghcr="0" $version="" github_event="" github_num
BUILD_TAGS=()
COMMIT_TAGS=()

BUILD_TAGS+=($(date +%Y%m%d))

# Commit Tags
github_number="{{ github_number }}"
SHA_SHORT="$(git rev-parse --short HEAD)"
Expand Down

0 comments on commit c42beb2

Please sign in to comment.