Skip to content

Commit

Permalink
Fix release download
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehinds committed Jan 7, 2025
1 parent b1eeed9 commit 96698c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
WORKDIR /usr/src/

# Set the release URL (this should be static and not change often) and download latest
ARG LATEST_RELEASE="https://api.github.com/repos/stacklok/codegate-ui/releases/latest"
RUN curl -s ${LATEST_RELEASE} | jq -r '.zipball_url' | xargs curl -L -o main.zip
RUN curl -s https://api.github.com/repos/stacklok/codegate-ui/releases/latest | jq -r '.zipball_url' | xargs curl -L -o main.zip

# Extract the downloaded zip file
RUN unzip main.zip
Expand Down

0 comments on commit 96698c7

Please sign in to comment.