all repos — website @ 398210c8ce4140de12720d3f16cc88284a146005

My website

build with ko instead of nix

Alan Pearce
commit

398210c8ce4140de12720d3f16cc88284a146005

parent

cd1125a213d742b5a89e8b60f0c7aafef13b8783

1 file changed, 1 insertion(+), 6 deletions(-)

changed files
M justfilejustfile
@@ -19,7 +19,6 @@
update-all: npin update go get -u all - gomod2nix --outdir nix build: templ generate
@@ -32,11 +31,7 @@ ci: build check-links
cd *DEPLOY_FLAGS: fly auth docker - nix-build -A docker-stream-amd64-linux --no-out-link | sh | gzip --fast | \ - skopeo copy --dest-precompute-digests \ - docker-archive:/dev/stdin \ - docker://{{ docker-registry }}:{{ docker-tag }} - fly deploy --image {{ docker-registry }}:{{ docker-tag }} {{ DEPLOY_FLAGS }} + fly deploy --image $(KO_DOCKER_REPO={{ docker-registry }} ko build --bare ./cmd/server) {{ DEPLOY_FLAGS }} deploy-vercel-preview: build vercel pull --environment=preview