We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 007680b commit 22c1608Copy full SHA for 22c1608
.github/workflows/deploy.yml
@@ -45,7 +45,7 @@ jobs:
45
push: true
46
tags: ghcr.io/gitranks/gitranks-ui:latest
47
build-args: |
48
- MONGODB_URI_AUTH=${{ secrets.MONGODB_URI_AUTH }}
+ EXAMPLE_BUILD_VAR=aaa
49
50
# 4. SSH to droplet and deploy
51
- name: SSH to droplet and deploy
Dockerfile
@@ -1,9 +1,6 @@
1
FROM node:22-alpine AS base
2
3
-# 1. Declare build arguments
4
-# 2. Convert build arguments into environment variables
5
-ARG MONGODB_URI_AUTH
6
-ENV MONGODB_URI_AUTH=$MONGODB_URI_AUTH
+ENV MONGODB_URI_AUTH=mongodb://localhost:27020/auth
7
8
FROM base AS deps
9
RUN apk update && apk add --no-cache libc6-compat
0 commit comments