Skip to content

Commit

Permalink
chore: try build docker image with env var
Browse files Browse the repository at this point in the history
  • Loading branch information
jycssu-com committed Jun 11, 2024
1 parent 40d8445 commit bc92bb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:
context: .
push: true
tags: ${{ secrets.DOCKER_REGISTRY }}/dashboard:${{ github.ref_name }}
env:
NEXT_PUBLIC_THEGRAPH_API_KEY: ${{ secrets.NEXT_PUBLIC_THEGRAPH_API_KEY }}

- name: Configure SSH
run: |
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ FROM node:16-alpine AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
ENV NEXT_PUBLIC_THEGRAPH_API_KEY

RUN yarn build

Expand Down

0 comments on commit bc92bb5

Please sign in to comment.