about summary refs log tree commit diff stats
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rwxr-xr-xjustfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/justfile b/justfile
index e347d98..2fd26ab 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", `date --utc +%Y%m%d%H%M%S` + "-" + `git rev-parse --short HEAD`)
+docker-tag := env_var_or_default("DOCKER_TAG", `date +%Y%m%d%H%M%S` + "-" + `git rev-parse --short HEAD`)
 version := `sentry-cli releases propose-version`
 environment := "production"
 started-at := `date +%s`
@@ -65,9 +65,8 @@ print-docker-tag:
 stream-to-registry : sentry-create-release && sentry-finalise-release
     just docker-stream-fly | gzip --fast | skopeo copy --dest-precompute-digests docker-archive:/dev/stdin docker://{{ fly-registry }}:{{ docker-tag }}
 
-result := `readlink -f result`
 push-to-registry: sentry-create-release && sentry-finalise-release
-    skopeo copy --dest-precompute-digests docker-archive://{{ result }}  docker://{{ fly-registry }}:{{ docker-tag }}
+    skopeo copy --dest-precompute-digests docker-archive://`readlink -f result`  docker://{{ fly-registry }}:{{ docker-tag }}
 
 sentry-create-release:
     sentry-cli releases new {{ version }}