This repository was archived by the owner on Jun 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 2323 - name : Fetch latest FE commit SHA
2424 id : fetch_commit_fe_sha
2525 run : |
26- echo "LATEST_RELEASE=$(curl -s "https://api.github.com/repos/stacklok/codegate-ui/releases/latest" -H "Authorization: Bearer ${{ secrets.GH_CI_TOKEN }}" | grep '"zipball_url":' | cut -d '"' -f 4)" >> $GITHUB_ENV
26+ echo "LATEST_RELEASE=$(curl -s "https://api.github.com/repos/stacklok/codegate-ui/releases/latest" | grep '"zipball_url":' | cut -d '"' -f 4)" >> $GITHUB_ENV
2727 - name : Test build on x86
2828 id : docker_build
2929 uses : docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v5
Original file line number Diff line number Diff line change @@ -34,11 +34,10 @@ WORKDIR /usr/src/
3434
3535# To ensure we always download the latest release of the webapp, we use a build argument.
3636# This prevents the curl command from being cached by Docker.
37+
3738ARG LATEST_RELEASE=LATEST
3839RUN echo "Latest FE release: $LATEST_RELEASE"
39- RUN --mount=type=secret,id=gh_token \
40- LATEST_RELEASE=${LATEST_RELEASE} \
41- curl -L -H "Authorization: Bearer $(cat /run/secrets/gh_token)" -o main.zip ${LATEST_RELEASE}
40+ RUN LATEST_RELEASE=${LATEST_RELEASE} curl -L -o main.zip ${LATEST_RELEASE}
4241
4342# Extract the downloaded zip file
4443RUN unzip main.zip
You can’t perform that action at this time.
0 commit comments