Skip to content

Commit

Permalink
fix: credential type for docker
Browse files Browse the repository at this point in the history
Signed-off-by: sebastien.heurtematte <sebastien.heurtematte@eclipse-foundation.org>
  • Loading branch information
heurtematte committed Apr 26, 2024
1 parent bb52f9c commit 8ecc1e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jenkins-create-credentials-token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,12 @@ docker() {

_verify_inputs "${project_name}"

local username
username="$(passw cbi "bots/${project_name}/docker.com/username")"
local token
token="$(passw cbi "bots/${project_name}/docker.com/api-token")"

_create_string_credentials "${project_name}" "docker-bot-token" "Docker Bot token" "${token}" "docker.com"
_create_username_token_credentials "${project_name}" "docker-bot-token" "Docker Bot token" "${username}" "${token}" "docker.com"
}

quay() {
Expand Down

0 comments on commit 8ecc1e3

Please sign in to comment.