The recipes.blue monorepo recipes.blue
recipes appview atproto
at main 831 B view raw
1config_dir := justfile_directory() / "config" 2apps_dir := justfile_directory() / "apps" 3libs_dir := justfile_directory() / "apps" 4 5ghcr_registry := "ghcr.io/recipes-blue/recipes.blue" 6ghcr_tag := "dev-" + `git rev-parse --short HEAD` 7 8[private] 9cbuild file repo target *args: 10 docker build . \ 11 --tag "{{ ghcr_registry }}/{{ repo }}:{{ ghcr_tag }}" \ 12 --file "{{ file }}" \ 13 --target "{{ target }}" \ 14 {{ args }} 15 16[group("docker")] 17cbuild-api: 18 just cbuild \ 19 "{{ apps_dir / "api" / "Dockerfile" }}" \ 20 api \ 21 run \ 22 --build-arg BASE_TAG={{ ghcr_tag }} \ 23 --build-arg DEPS_TAG={{ ghcr_tag }} 24 25[group("docker")] 26cbuild-ingester: 27 just cbuild \ 28 "{{ apps_dir / "ingester" / "Dockerfile" }}" \ 29 ingester \ 30 run \ 31 --build-arg BASE_TAG={{ ghcr_tag }} \ 32 --build-arg DEPS_TAG={{ ghcr_tag }}