Skip to content

Commit

Permalink
Set container image TZ to US/Central (CDT)
Browse files Browse the repository at this point in the history
Signed-off-by: Gerhard Lazu <gerhard@changelog.com>
  • Loading branch information
gerhard committed Oct 12, 2023
1 parent c5b0c1f commit 9ff9c0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crontab
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# generate/deliver Nightly at 9:59pm CDT (2:59am UTC)
59 2 * * * rake generate issue:deliver
# generate/deliver Nightly at 9:59pm CDT
59 21 * * * rake generate issue:deliver
3 changes: 2 additions & 1 deletion pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ func (p *Pipeline) Build() *Pipeline {
From(fmt.Sprintf("ruby:%s-alpine", p.tools.Ruby())).
WithExec([]string{"ruby", "--version"}).
WithExec([]string{"apk", "update"}).
WithExec([]string{"apk", "add", "git", "build-base", "sqlite-dev", "bash"})
WithExec([]string{"apk", "add", "git", "build-base", "sqlite-dev", "bash", "tzdata"}).
WithEnvVariable("TZ", "US/Central")

if p.nocache {
p.workspace = p.workspace.WithEnvVariable("DAGGER_CACHE_BUSTED_AT", time.Now().String())
Expand Down

0 comments on commit 9ff9c0e

Please sign in to comment.