Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
0ad99d3f0a
|
|||
|
bb7b15351d
|
@@ -126,9 +126,9 @@ steps:
|
|||||||
repo: git.mifi.dev/mifi/auth-service
|
repo: git.mifi.dev/mifi/auth-service
|
||||||
registry: git.mifi.dev
|
registry: git.mifi.dev
|
||||||
build_args:
|
build_args:
|
||||||
MONGO_ENTRY_FILE: latest
|
- MONGO_ENTRY_FILE=latest
|
||||||
MONGO_VERSION: latest
|
- MONGO_VERSION=latest
|
||||||
NPM_TOKEN:
|
- NPM_TOKEN:
|
||||||
from_secret: reg_token
|
from_secret: reg_token
|
||||||
ssh-agent-key:
|
ssh-agent-key:
|
||||||
from_secret: reg_token
|
from_secret: reg_token
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ ARG MONGO_VERSION=${MONGO_VERSION:-latest}
|
|||||||
## mongo build stage
|
## mongo build stage
|
||||||
FROM mongo:$MONGO_VERSION AS database
|
FROM mongo:$MONGO_VERSION AS database
|
||||||
ENV NODE_ENV $ENV
|
ENV NODE_ENV $ENV
|
||||||
|
ENV MONGO_ENTRY_FILE $MONGO_ENTRY_FILE
|
||||||
|
ENV MONGO_VERSION $MONGO_VERSION
|
||||||
COPY docker-entrypoint-initdb.d/mongo-init-$MONGO_ENTRY_FILE.sh ./docker-entrypoint-initdb.d/mongo-init.sh
|
COPY docker-entrypoint-initdb.d/mongo-init-$MONGO_ENTRY_FILE.sh ./docker-entrypoint-initdb.d/mongo-init.sh
|
||||||
|
|
||||||
## stage one, build the service
|
## stage one, build the service
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mifi/auth-service",
|
"name": "@mifi/auth-service",
|
||||||
"version": "1.0.8",
|
"version": "1.0.10",
|
||||||
"author": "mifi (Mike Fitzpatrick)",
|
"author": "mifi (Mike Fitzpatrick)",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user