Skip to content

Commit

Permalink
fix: quay.io credentialsId
Browse files Browse the repository at this point in the history
Signed-off-by: sebastien.heurtematte <[email protected]>
  • Loading branch information
heurtematte authored and fredg02 committed Mar 13, 2024
1 parent a3e7a14 commit 6143bb3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jenkins-create-credentials-token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,12 @@ quay() {

_verify_inputs "${project_name}"

local username
username="$(passw cbi "bots/${project_name}/quay.io/robot-username")"
local token
token="$(passw cbi "bots/${project_name}/quay.io/api-token")"
token="$(passw cbi "bots/${project_name}/quay.io/robot-token")"

_create_string_credentials "${project_name}" "quay-bot-token" "Quay Bot token" "${token}" "quay.io"
_create_username_token_credentials "${project_name}" "quay-bot" "Quay bot (Robot username/token)" "${username}" "${token}" "quay.io"
}

github() {
Expand Down

0 comments on commit 6143bb3

Please sign in to comment.