feat(cmd/joj3): add prefix to env vars [force build]
All checks were successful
submodules sync / sync (push) Successful in 32s
build / build (push) Successful in 1m5s
build / trigger-build-image (push) Successful in 7s

This commit is contained in:
张泊明518370910136 2025-01-31 20:39:32 -05:00
parent 45b4bdd369
commit 6ddd403f08
GPG Key ID: D47306D7062CDA9D

6
cmd/joj3/env/env.go vendored
View File

@ -42,7 +42,7 @@ func init() {
}
func Set() {
os.Setenv("CONF_NAME", Attr.ConfName)
os.Setenv("GROUPS", Attr.Groups)
os.Setenv("RUN_ID", Attr.RunID)
os.Setenv("JOJ3_CONF_NAME", Attr.ConfName)
os.Setenv("JOJ3_GROUPS", Attr.Groups)
os.Setenv("JOJ3_RUN_ID", Attr.RunID)
}