8 lines
128 B

  1. #!/bin/bash
  2. set -e
  3. . lib/common
  4. URL=$(relation-get url) || return 1
  5. echo "$URL" > $SERVICE_CONFIGSTORE/etc/docker-auth/realm