Skip to content

Commit

Permalink
Merge pull request #108 from 100-hours-a-week/feature/deploy
Browse files Browse the repository at this point in the history
πŸ‘· dockerfile gtm λ™μž‘μ„ μœ„ν•œ ν™˜κ²½λ³€μˆ˜ μΆ”κ°€
  • Loading branch information
49EHyeon42 authored Oct 1, 2024
2 parents 3748066 + 0970f7d commit e3cd44f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/github-actions-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
--build-arg SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN_DEV }} \
--build-arg NEXT_PUBLIC_SENTRY_DSN=${{ secrets.NEXT_PUBLIC_SENTRY_DSN_DEV }} \
--build-arg NEXT_PUBLIC_KAKAOJSKEY=${{ secrets.NEXT_PUBLIC_KAKAOJSKEY_DEV }} \
--build-arg NEXT_PUBLIC_GTM_ID=${{ secrets.NEXT_PUBLIC_GTM_ID }} \
-t ghcr.io/topazkang/fe-dev:latest .
- name: Push Docker image to GHCR
Expand Down
2 changes: 2 additions & 0 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ARG NEXT_PUBLIC_BASE_URL
ARG SENTRY_AUTH_TOKEN
ARG NEXT_PUBLIC_SENTRY_DSN
ARG NEXT_PUBLIC_KAKAOJSKEY
ARG NEXT_PUBLIC_GTM_ID

# set env on variable
ENV KAKAO_API_KEY=${KAKAO_API_KEY}
Expand All @@ -23,6 +24,7 @@ ENV NEXT_PUBLIC_BASE_URL=${NEXT_PUBLIC_BASE_URL}
ENV SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN}
ENV NEXT_PUBLIC_SENTRY_DSN=${NEXT_PUBLIC_SENTRY_DSN}
ENV NEXT_PUBLIC_KAKAOJSKEY=${NEXT_PUBLIC_KAKAOJSKEY}
ENV NEXT_PUBLIC_GTM_ID=${NEXT_PUBLIC_GTM_ID}

# Copy the package.json and package-lock.json
COPY package*.json ./
Expand Down

0 comments on commit e3cd44f

Please sign in to comment.