111
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
编码猿
2025-09-09 09:42:59 +08:00
parent 8e1aa5e659
commit 0739822ced

View File

@@ -10,9 +10,10 @@ steps:
- name: docker-socket
path: /var/run/docker.sock
environment:
# 在这里重新声明以确保优先级
APP_NAME: node-app
CONTAINER_NAME: node-app-prod
- name: APP_NAME
value: node-app
- name: CONTAINER_NAME
value: node-app-prod
commands:
# 直接在命令中设置变量避免shell解释器问题
- CURRENT_TAG=$(echo ${DRONE_COMMIT_SHA} | cut -c1-8)