From 4064f933a965f2fb2ce43d3c2d5bd54ccd33978c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 19 May 2024 11:43:26 +0200 Subject: build: fix errors executing justfile --- justfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'justfile') 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 }} -- cgit 1.4.1