Skip to content

Commit

Permalink
3 weeks from labor day only build amd64 containers
Browse files Browse the repository at this point in the history
  • Loading branch information
dtcooper committed Aug 13, 2024
1 parent 6a3ad84 commit 9e60678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-deploy-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# Only build on amd64 around the event (faster)
LABOR_DAY=$(date -d "${YEAR}-09-01 +$(( (8 - $(date -d "${YEAR}-09-01" +%u) ) % 7 )) days" +%Y-%m-%d)
BEFORE_DATE=$(date -d "$LABOR_DAY -17 days" +%Y%m%d)
BEFORE_DATE=$(date -d "$LABOR_DAY -21 days" +%Y%m%d)
AFTER_DATE=$(date -d "$LABOR_DAY +3 days" +%Y%m%d)
if [ "$DATE" -ge "$BEFORE_DATE" -a "$DATE" -le "$AFTER_DATE" ]; then
Expand Down

0 comments on commit 9e60678

Please sign in to comment.