Skip to content

Commit

Permalink
Set container image TZ to US/Central (CDT)
Browse files Browse the repository at this point in the history
Follow-up to #42

Signed-off-by: Gerhard Lazu <[email protected]>
  • Loading branch information
gerhard committed Oct 12, 2023
1 parent c5b0c1f commit 478e0e6
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 478e0e6

Please sign in to comment.