9 lines
128 B

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