From 9ff9c0e22f8150a3cbecadb05b70d9fdb8653f60 Mon Sep 17 00:00:00 2001 From: Gerhard Lazu Date: Thu, 12 Oct 2023 19:50:18 +0100 Subject: [PATCH] Set container image TZ to US/Central (CDT) Signed-off-by: Gerhard Lazu --- crontab | 4 ++-- pipeline.go | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/crontab b/crontab index 79f30c3..08d3a4e 100644 --- a/crontab +++ b/crontab @@ -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 diff --git a/pipeline.go b/pipeline.go index e386273..62c190b 100644 --- a/pipeline.go +++ b/pipeline.go @@ -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())