about summary refs log tree commit diff stats
path: root/justfile
diff options
context:
space:
mode:
authorAlan Pearce2024-05-11 16:56:08 +0200
committerAlan Pearce2024-05-11 16:56:08 +0200
commit4fced5c6ea1a3bf56778e88b91d5c82a66807caf (patch)
tree17b40d2cc14a0e1991e6188b0c002aad3ca9a000 /justfile
parente1fd936435e89087f7ffd9fe4db079f1e7fe3e23 (diff)
downloadwebsite-4fced5c6ea1a3bf56778e88b91d5c82a66807caf.tar.lz
website-4fced5c6ea1a3bf56778e88b91d5c82a66807caf.tar.zst
website-4fced5c6ea1a3bf56778e88b91d5c82a66807caf.zip
make cleaning up old docker images easier
set docker tag to include current date
Diffstat (limited to 'justfile')
-rwxr-xr-xjustfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/justfile b/justfile
index 9dc57b8..f9d085a 100755
--- a/justfile
+++ b/justfile
@@ -2,7 +2,7 @@
 
 fly-system := "x86_64-linux"
 fly-registry := "registry.fly.io/alanpearce-eu"
-docker-tag := env_var_or_default("DOCKER_TAG", `git rev-parse HEAD`)
+docker-tag := env_var_or_default("DOCKER_TAG", `date --utc +%Y%m%d%H%M%S` + "-" + `git rev-parse --short HEAD`)
 version := `sentry-cli releases propose-version`
 environment := "production"
 started-at := `date +%s`