diff --git a/Dockerfile b/Dockerfile index 9ae795d0..9c3d1d29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -83,10 +83,8 @@ RUN apt-get update && \ WORKDIR /usr/local/src/watcher RUN --mount=type=secret,id=github-token \ if [ -f /run/secrets/github-token ] && [ -s /run/secrets/github-token ]; then \ - echo "Using authenticated GitHub API request"; \ curl -s -H "Authorization: Bearer $(cat /run/secrets/github-token)" https://api.github.com/repos/e-dant/watcher/releases/latest; \ else \ - echo "Using unauthenticated GitHub API request"; \ curl -s https://api.github.com/repos/e-dant/watcher/releases/latest; \ fi | \ grep tarball_url | \ diff --git a/alpine.Dockerfile b/alpine.Dockerfile index bb53a7ee..4c69f0e7 100644 --- a/alpine.Dockerfile +++ b/alpine.Dockerfile @@ -90,10 +90,8 @@ RUN apk add --no-cache --virtual .build-deps \ WORKDIR /usr/local/src/watcher RUN --mount=type=secret,id=github-token \ if [ -f /run/secrets/github-token ] && [ -s /run/secrets/github-token ]; then \ - echo "Using authenticated GitHub API request"; \ curl -s -H "Authorization: Bearer $(cat /run/secrets/github-token)" https://api.github.com/repos/e-dant/watcher/releases/latest; \ else \ - echo "Using unauthenticated GitHub API request"; \ curl -s https://api.github.com/repos/e-dant/watcher/releases/latest; \ fi | \ grep tarball_url | \