Skip to content

Commit

Permalink
Adding Env to workflow and dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Type-32 <[email protected]>
  • Loading branch information
Type-32 committed Jul 9, 2024
1 parent 8e43b69 commit 564ef10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
tags: type32/ultimate-frisbee:latest
tags: type32/ultimate-frisbee:latest
build-args: |
NUXT_UI_PRO_LICENSE=${{ secrets.NUXT_UI_PRO_LICENSE }}
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM node:18-alpine

ARG NUXT_UI_PRO_LICENSE
ENV NUXT_UI_PRO_LICENSE=$NUXT_UI_PRO_LICENSE

WORKDIR /app

COPY package*.json ./
Expand Down

0 comments on commit 564ef10

Please sign in to comment.