Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
luojiyin1987 committed Dec 23, 2024
1 parent add7f27 commit 8395dac
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,8 @@ WORKDIR /app
# Install dependencies based on the preferred package manager
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* .npmrc .env ./

ARG GITHUB_TOKEN
ENV GITHUB_TOKEN=$NPM_TOKEN
RUN export $(cat /app/.env | xargs) && echo $MY_VAR > /output.txt

RUN echo "GITHUB_TOKEN" ${GITHUB_TOKEN} "--" ${NPM_TOKEN}

RUN echo "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" >> ~/.npmrc && \
echo "@kaiyuanshe:registry=https://npm.pkg.github.com" >> ~/.npmrc && \
echo "always-auth=true" >> ~/.npmrc



Expand Down

1 comment on commit 8395dac

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for open-hackathon ready!

✅ Preview
https://open-hackathon-ci09vy2nx-techquerys-projects.vercel.app

Built with commit 8395dac.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.