From 886ef328276cc004a49fdd54a642a936d99713eb Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Sun, 23 Nov 2025 15:35:37 +0000 Subject: [PATCH] Change DATA_DIR to /data/emblem and add GIT_DEPTH=1 to CI --- .gitlab-ci.yml | 3 +++ Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ba0a54..17e2d02 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,9 @@ stages: - build-docker - deploy +variables: + GIT_DEPTH: 1 + cache: key: one-key-to-rule-them-all paths: diff --git a/Makefile b/Makefile index 698329a..673f0f4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .PHONY: FORCE emblemscanner-release fetch -DATA_DIR ?= ../data +DATA_DIR ?= /data/emblem IMAGE_TAG := $(shell git rev-parse --short HEAD) IMAGE_REPO := registry.gitlab.com/euphon/themblem