Sha256: fbe6ddedb7c4c8788b4f55b34a04de4e18bfbc04e1ae65561c62f4e3b69c31bb
Contents?: true
Size: 690 Bytes
Versions: 118
Compression:
Stored size: 690 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 # Ensure the current working directory is considered safe by git in the debify # container. git config --global --add safe.directory "$PWD" exec debify "$@"
Version data entries
118 entries across 118 versions & 1 rubygems