mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-12 15:20:44 +08:00
优化 Dockerfile,确保可以正确获取版本信息
This commit is contained in:
parent
a7bd0740d4
commit
37e11179eb
@ -14,8 +14,9 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
ENV TZ="Asia/Shanghai"
|
||||
|
||||
#构建版本
|
||||
ARG VERSION
|
||||
ARG BUILD_SHA
|
||||
ARG BUILD_TAG
|
||||
ARG BUILD_TAG=v${VERSION}
|
||||
ENV BUILD_SHA=$BUILD_SHA
|
||||
ENV BUILD_TAG=$BUILD_TAG
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user