summaryrefslogtreecommitdiff
path: root/f3s/shuriken/docker-image/Justfile
blob: ae380797825459e220c5fd2e4cd419d778e0290b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
REGISTRY := "r0.lan.buetow.org:30001"
IMAGE := "shuriken"
TAG := "0.14.0"
# Source tree for the image build. The Dockerfile lives at the repo root and
# copies bin/, share/templates, assets/site, src/shuriken.default.conf and
# docker/entrypoint.sh, so build from the shuriken.sh checkout root. Run
# `just build` in the shuriken.sh repo first so bin/shuriken is up to date.
SRC := "/home/paul/git/shuriken.sh"

build:
	docker build -t {{IMAGE}}:{{TAG}} {{SRC}}

push:
	docker tag {{IMAGE}}:{{TAG}} {{REGISTRY}}/{{IMAGE}}:{{TAG}}
	docker push {{REGISTRY}}/{{IMAGE}}:{{TAG}}

all: build push