all repos — homestead @ 24b5ccb04564d1d18c97164ef8578f4017dfe2b3

Code for my website

use long git hashes for docker tags

Alan Pearce
commit

24b5ccb04564d1d18c97164ef8578f4017dfe2b3

parent

9218b1adb065d974c80972f56db993e464652f10

1 file changed, 4 insertions(+), 2 deletions(-)

changed files
M nix/scripts.nixnix/scripts.nix
@@ -43,7 +43,9 @@ stream-fly | ${gzip}/bin/gzip --fast | ${skopeo}/bin/skopeo copy docker-archive:/dev/stdin "$@"
'') (writeShellScriptBin "deploy" '' set -eu - push-to-registry docker://${image} - ${pkgs.flyctl}/bin/flyctl deploy + TAG=$(git rev-parse HEAD) + IMAGE=${image}:$TAG + push-to-registry docker://$IMAGE + ${pkgs.flyctl}/bin/flyctl deploy --image $IMAGE '') ]