Fix Drone CI/CD: use from_secret instead of from for secrets
The correct Drone syntax for referencing secrets is 'from_secret:', not 'from:'. Without this fix, Drone cannot read the registry credentials and the docker login step will fail with 401 Unauthorized. Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
+2
-2
@@ -16,6 +16,6 @@ steps:
|
||||
repo: gitea.jambotron.com/liosha84/htop-web
|
||||
auto_tag: true
|
||||
username:
|
||||
from: REGISTRY_USERNAME
|
||||
from_secret: REGISTRY_USERNAME
|
||||
password:
|
||||
from: REGISTRY_PASSWORD
|
||||
from_secret: REGISTRY_PASSWORD
|
||||
|
||||
Reference in New Issue
Block a user