diff --git a/Dockerfile b/Dockerfile index 8b97737..13708de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -113,10 +113,10 @@ RUN set -x \ | wget --base=http://github.com/ -i - -O sd-cmd \ && chmod +x sd-cmd \ # Download store-cli - && wget -q -O - https://api.github.com/repos/screwdriver-cd/store-cli/releases/tags/v0.0.71 \ + && wget -q -O - https://api.github.com/repos/screwdriver-cd/store-cli/releases/latest \ | egrep -o "/screwdriver-cd/store-cli/releases/download/v[0-9.]*/store-cli_${TARGETOS}_${TARGETARCH}" \ | sed -e "s/\/screwdriver-cd\/\([a-zA-Z-]*\)\/releases\/download\/\(v[0-9.]*\)\/store-cli_${TARGETOS}_${TARGETARCH}/\1 \2/" >> tool-versions \ - && wget -q -O - https://api.github.com/repos/screwdriver-cd/store-cli/releases/tags/v0.0.71 \ + && wget -q -O - https://api.github.com/repos/screwdriver-cd/store-cli/releases/latest \ | egrep -o "/screwdriver-cd/store-cli/releases/download/v[0-9.]*/store-cli_${TARGETOS}_${TARGETARCH}" \ | wget --base=http://github.com/ -i - -O store-cli \ && chmod +x store-cli \