Sha256: 3796c2b7d20ae286280de624ce32c6a917a1672c1aea4969dacd0d46dd63b55d
Contents?: true
Size: 549 Bytes
Versions: 27
Compression:
Stored size: 549 Bytes
Contents
#!/bin/bash -e # Make sure we don't echo commands as executed, otherwise the user's # Conjur API key will show up in the logs. set +x creds=( $(ruby /debify/distrib/conjur_creds.rb) ) # If there are creds, use them to log in to the registry. # # If there are no creds, any commands that do # Docker stuff will fail, but the non-Docker commands (e.g. the config # subcommands) will work fine. if [[ ${#creds[*]} > 0 ]]; then echo -n "${creds[1]}" | docker login registry.tld -u ${creds[0]} --password-stdin >/dev/null 2>&1 fi exec debify "$@"
Version data entries
27 entries across 27 versions & 1 rubygems