ci: remove unneeded echoes (#1683)

This commit is contained in:
Alexandre Daubois
2025-06-25 10:17:53 +02:00
committed by GitHub
parent 2712876e95
commit bbc3e49d6f
2 changed files with 0 additions and 4 deletions

View File

@@ -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 | \

View File

@@ -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 | \