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

Version Path
conjur-debify-3.0.1.pre.1610 distrib/entrypoint.sh
conjur-debify-3.0.1.pre.1548 distrib/entrypoint.sh
conjur-debify-3.0.0.pre.1093 distrib/entrypoint.sh
conjur-debify-3.0.0.pre.1059 distrib/entrypoint.sh
conjur-debify-3.0.0.pre.1043 distrib/entrypoint.sh
conjur-debify-3.0.0.pre.1036 distrib/entrypoint.sh
conjur-debify-3.0.0 distrib/entrypoint.sh
conjur-debify-3.0.0.pre.1027 distrib/entrypoint.sh
conjur-debify-3.0.0.pre.1023 distrib/entrypoint.sh
conjur-debify-2.1.1.pre.1015 distrib/entrypoint.sh
conjur-debify-0.0.1.pre.47 distrib/entrypoint.sh
conjur-debify-2.1.1.pre.1008 distrib/entrypoint.sh
conjur-debify-2.1.1.pre.989 distrib/entrypoint.sh
conjur-debify-2.1.1.pre.988 distrib/entrypoint.sh
conjur-debify-2.1.1.pre.987 distrib/entrypoint.sh
conjur-debify-2.1.1.pre.971 distrib/entrypoint.sh
conjur-debify-2.1.1.pre.4 distrib/entrypoint.sh
conjur-debify-2.1.1.pre.2 distrib/entrypoint.sh
conjur-debify-2.1.1.pre.970 distrib/entrypoint.sh
conjur-debify-2.1.1.pre.967 distrib/entrypoint.sh