Skip to content

Commit

Permalink
Add debug output for foundry username and password in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
felddy committed Nov 8, 2024
1 parent 0d64fde commit 474f84c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ RUN mkdir dist && touch dist/.placeholder
RUN \
--mount=type=secret,id=foundry_username,required=false \
--mount=type=secret,id=foundry_password,required=false \
echo ">>> username: $(cat /run/secrets/foundry_username)" && \
echo ">>> password: $(cat /run/secrets/foundry_password)" && \
npm install && \
if [ -f /run/secrets/foundry_username ] && [ -f /run/secrets/foundry_password ]; then \
./authenticate.js "$(cat /run/secrets/foundry_username)" "$(cat /run/secrets/foundry_password)" cookiejar.json && \
Expand Down

0 comments on commit 474f84c

Please sign in to comment.