diff options
author | Alan Pearce | 2024-05-19 11:43:26 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-19 11:43:26 +0200 |
commit | 4064f933a965f2fb2ce43d3c2d5bd54ccd33978c (patch) | |
tree | 1422144e217feea6e2f3b550cefbecd2d465901f | |
parent | 7dc19d115c5f3b012f96284adc8cadb9b703d6db (diff) | |
download | website-4064f933a965f2fb2ce43d3c2d5bd54ccd33978c.tar.lz website-4064f933a965f2fb2ce43d3c2d5bd54ccd33978c.tar.zst website-4064f933a965f2fb2ce43d3c2d5bd54ccd33978c.zip |
build: fix errors executing justfile
-rwxr-xr-x | justfile | 5 |
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 }} |