Change DATA_DIR to /data/emblem and add GIT_DEPTH=1 to CI

This commit is contained in:
Fam Zheng 2025-11-23 15:35:37 +00:00
parent b539aa8524
commit 886ef32827
2 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,9 @@ stages:
- build-docker - build-docker
- deploy - deploy
variables:
GIT_DEPTH: 1
cache: cache:
key: one-key-to-rule-them-all key: one-key-to-rule-them-all
paths: paths:

View File

@ -1,6 +1,6 @@
.PHONY: FORCE emblemscanner-release fetch .PHONY: FORCE emblemscanner-release fetch
DATA_DIR ?= ../data DATA_DIR ?= /data/emblem
IMAGE_TAG := $(shell git rev-parse --short HEAD) IMAGE_TAG := $(shell git rev-parse --short HEAD)
IMAGE_REPO := registry.gitlab.com/euphon/themblem IMAGE_REPO := registry.gitlab.com/euphon/themblem