parent
1a03808847
commit
98ec02ea0b
@ -46,7 +46,7 @@ func generateConfig(cfg *config.Config, name string) (string, error) {
|
||||
envConfig := map[string]interface{}{
|
||||
"WOODPECKER_SERVER": fmt.Sprintf("%s", cfg.WoodpeckerGrpc),
|
||||
"WOODPECKER_GRPC_SECURE": true,
|
||||
"WOODPECKER_AGENT_SECRET": fmt.Sprintf(`"%s"`, cfg.WoodpeckerAgentSecret),
|
||||
"WOODPECKER_AGENT_SECRET": fmt.Sprintf("%s", cfg.WoodpeckerAgentSecret),
|
||||
"WOODPECKER_FILTER_LABELS": fmt.Sprintf(`"%s"`, cfg.WoodpeckerLabelSelector),
|
||||
"WOODPECKER_HOSTNAME": fmt.Sprintf(`"%s"`, name),
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ write_files:
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- WOODPECKER_AGENT_SECRET="Geheim1!"
|
||||
- WOODPECKER_AGENT_SECRET=Geheim1!
|
||||
- WOODPECKER_FILTER_LABELS="uploadfilter24.eu/instance-role=WoodpeckerTest"
|
||||
- WOODPECKER_GRPC_SECURE=true
|
||||
- WOODPECKER_HOSTNAME="test-instance"
|
||||
|
Loading…
Reference in New Issue
Block a user