Skip to content

Commit

Permalink
Fix: Fied dockerfile and build action (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanWalker277 authored Jul 21, 2023
1 parent 394bfc8 commit 5035c9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,4 @@ jobs:
with:
context: "."
push: true
tags: samagragovernance/uci-apis:${{ steps.vars.outputs.tag }}
build-args: NPM_TOKEN=${{secrets.TOKEN}}
tags: samagragovernance/uci-apis:${{ steps.vars.outputs.tag }}
6 changes: 0 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
FROM node:16 AS install
WORKDIR /app
COPY package.json ./
COPY .npmrc .
ARG NPM_TOKEN
RUN sed -i "s|${NPM_TOKEN}|${NPM_TOKEN}|g" /app/.npmrc
COPY yarn.lock ./
RUN yarn install
RUN rm -f .npmrc


FROM node:16 as build
WORKDIR /app
Expand Down

0 comments on commit 5035c9d

Please sign in to comment.