harness / gitness

Gitness is an Open Source developer platform with Source Control management, Continuous Integration and Continuous Delivery.
https://gitness.com
Apache License 2.0
31.89k stars 2.78k forks source link

The pipelines are unable to function properly when reading secrets. #3506

Open it00021hot opened 2 months ago

it00021hot commented 2 months ago

When I set the environment variable GITNESS_ENCRYPTER_SECRET, the value of ${{ secret.get("REGISTRY_PASSWORD") }} is an encrypted string. Upon inspecting the source code, I found that the Details function in app/pipeline/manager/manager.go does not decrypt the secret when retrieving it, which prevents me from authenticating with Docker Hub.

image image

johannesHarness commented 2 months ago

Hey @it00021hot, thank you for bringing this to our attention. We've created an internal ticket to track the issue.