about summary refs log tree commit diff stats
path: root/justfile
diff options
context:
space:
mode:
authorAlan Pearce2024-04-21 22:58:06 +0200
committerAlan Pearce2024-04-21 22:58:06 +0200
commitfcbad558bc3d573d0cc621e0331d02befd6849d4 (patch)
treef556c2821db0dbe153fb7a1169dc4e775a54c0d3 /justfile
parentc58a2ae67134b44a26411b4dfa41e6ed7377cb8b (diff)
downloadwebsite-fcbad558bc3d573d0cc621e0331d02befd6849d4.tar.lz
website-fcbad558bc3d573d0cc621e0331d02befd6849d4.tar.zst
website-fcbad558bc3d573d0cc621e0331d02befd6849d4.zip
fix ci deployment failure
Diffstat (limited to 'justfile')
-rwxr-xr-xjustfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/justfile b/justfile
index 60d7d94..627e417 100755
--- a/justfile
+++ b/justfile
@@ -46,12 +46,12 @@ print-docker-tag:
     @echo {{ docker-tag }}
 
 # docker://some_docker_registry/myimage:tag
-stream-to-registry registry-and-tag=(fly-registry + ":" + docker-tag) *skopeo-flags="":
-    just docker-stream-fly | gzip --fast | skopeo {{ skopeo-flags }} copy docker-archive:/dev/stdin {{ registry-and-tag }}
+stream-to-registry registry-and-tag=("docker://" + fly-registry + ":" + docker-tag) *skopeo-flags="":
+    just docker-stream-fly | gzip --fast | skopeo {{ skopeo-flags }} copy --dest-precompute-digests docker-archive:/dev/stdin {{ registry-and-tag }}
 
 # docker://some_docker_registry/myimage:tag
-push-to-registry registry-and-tag=(fly-registry + ":" + docker-tag) image-path=`readlink -f result` *skopeo-flags="":
-    skopeo {{ skopeo-flags }} copy {{ registry-and-tag }} {{ registry-and-tag }}
+push-to-registry registry-and-tag=("docker://" + fly-registry + ":" + docker-tag) image-path=`readlink -f result` *skopeo-flags="":
+    skopeo {{ skopeo-flags }} copy --dest-precompute-digests {{ image-path }} {{ registry-and-tag }}
 
 deploy registry-and-tag=(fly-registry + ":" + docker-tag):
     fly deploy --image {{ registry-and-tag }}