删除无用的环境变量
This commit is contained in:
parent
91436c9d14
commit
0f476f8b10
@ -10,12 +10,6 @@ steps:
|
|||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: plugins/docker:20.10
|
image: plugins/docker:20.10
|
||||||
privileged: false
|
privileged: false
|
||||||
# 将 Docker Hub 凭据作为环境变量传递给插件容器
|
|
||||||
environment:
|
|
||||||
DOCKER_USERNAME:
|
|
||||||
from_secret: dockerhub_username # 引用你创建的 Secret 名称
|
|
||||||
DOCKER_PASSWORD:
|
|
||||||
from_secret: dockerhub_password # 引用你创建的 Secret 名称
|
|
||||||
settings:
|
settings:
|
||||||
debug: true # 启用调试日志
|
debug: true # 启用调试日志
|
||||||
login: true
|
login: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user