File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed
Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 4545 push : true
4646 tags : ghcr.io/maslianok/gitranks-ui:latest
4747 build-args : |
48- GRAPHQL_URI='${{ secrets.GRAPHQL_URI }}'
49- GRAPHQL_SECRET_KEY='${{ secrets.GRAPHQL_SECRET_KEY }}'
50- MONGODB_URI_AUTH='${{ secrets.MONGODB_URI_AUTH }}'
51- URI='${{ vars.URI }}'
48+ MONGODB_URI_AUTH="${{ secrets.MONGODB_URI_AUTH }}""
5249
5350 # 4. SSH to droplet and deploy
5451 - name : SSH to droplet and deploy
Original file line number Diff line number Diff line change @@ -2,18 +2,9 @@ FROM node:22-alpine AS base
22
33# 1. Declare build arguments
44# 2. Convert build arguments into environment variables
5- ARG GRAPHQL_URI
6- ENV GRAPHQL_URI=$GRAPHQL_URI
7-
8- ARG GRAPHQL_SECRET_KEY
9- ENV GRAPHQL_SECRET_KEY=$GRAPHQL_SECRET_KEY
10-
115ARG MONGODB_URI_AUTH
126ENV MONGODB_URI_AUTH=$MONGODB_URI_AUTH
137
14- ARG URI
15- ENV URI=$URI
16-
178FROM base AS deps
189RUN apk update && apk add --no-cache libc6-compat
1910WORKDIR /app
You can’t perform that action at this time.
0 commit comments