all repos — website @ 660e429c9b63e41ca5636704453772b2e801698c

My website

build: fix `date` error on darwin/BSD
Alan Pearce alan@alanpearce.eu
Sun, 05 Jan 2025 12:32:09 +0100
commit

660e429c9b63e41ca5636704453772b2e801698c

parent

12af22f93a8a5599ef8b3897341274a50e7da9f5

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M justfilejustfile
@@ -2,7 +2,7 @@ #!/usr/bin/env nix #!nix develop ``.#ci`` --command just --justfile
 
 docker_registry := "registry.fly.io/alanpearce-eu"
-docker-tag := env_var_or_default("DOCKER_TAG", `date --utc +%Y%m%d%H%M%S` + "-" + `git rev-parse --short HEAD`)
+docker-tag := env_var_or_default("DOCKER_TAG", `date -u +%Y%m%d%H%M%S` + "-" + `git rev-parse --short HEAD`)
 listen_address := env_var_or_default("LISTEN_ADDRESS", "::1")
 tls_port := env_var_or_default("TLS_PORT", "8443")
 port := env_var_or_default("PORT", "8080")