Skip to content
Permalink
Browse files

Update check-links.sh

Co-Authored-By: Ciaran Moran <25228551+morancj@users.noreply.github.com>
  • Loading branch information...
pcolmer and morancj committed Sep 25, 2019
1 parent 0a8e336 commit dd6eee7163f37dc02ecd1c322767026fcff11ef0
Showing with 1 addition and 1 deletion.
  1. +1 −1 check-links.sh
@@ -9,7 +9,7 @@ function get_tag_for_latest(){
REPOSITORY="linaroits/linkcheck"
TARGET_TAG="latest"
# check that we have Internet access - bail quickly if we don't
_=$(curl -s "https://auth.docker.io") || return $?
curl -Is "https://auth.docker.io" >/dev/null 2>&1 || return $?
# get authorization token
TOKEN=$(curl -s "https://auth.docker.io/token?service=registry.docker.io&scope=repository:$REPOSITORY:pull" | jq -r .token) || return $?
# find all tags

0 comments on commit dd6eee7

Please sign in to comment.
You can’t perform that action at this time.