Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #5

Merged
merged 1 commit into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/CI_CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ jobs:
VUE_APP_EXPLORER_BASE_URL: ${{ vars.VUE_APP_EXPLORER_BASE_URL }}
VUE_APP_WEB_WALLET_ADDRESS: ${{ vars.VUE_APP_WEB_WALLET_ADDRESS }}
run:
docker build -t $GOOGLE_ARTIFACT_URL/$GOOGLE_PROJECT_ID/$GOOGLE_ARTIFACT_REPO/entity-developer-dashbord:latest --build-arg NODE_ENV='$NODE_ENV' --build-arg VUE_APP_TITLE='$VUE_APP_TITLE' --build-arg VUE_APP_DESC='$VUE_APP_DESC' --build-arg VUE_APP_VERSION='$VUE_APP_VERSION' --build-arg VUE_APP_STUDIO_SERVER_BASE_URL='$VUE_APP_STUDIO_SERVER_BASE_URL' --build-arg VUE_APP_NODE_SERVER_BASE_URL='$VUE_APP_NODE_SERVER_BASE_URL' --build-arg VUE_APP_NODE_SERVER_BASE_URL_REST='$VUE_APP_NODE_SERVER_BASE_URL_REST' --build-arg VUE_APP_EXPLORER_BASE_URL='$VUE_APP_EXPLORER_BASE_URL' --build-arg VUE_APP_WEB_WALLET_ADDRESS='$VUE_APP_WEB_WALLET_ADDRESS' .

docker build -t $GOOGLE_ARTIFACT_URL/$GOOGLE_PROJECT_ID/$GOOGLE_ARTIFACT_REPO/entity-developer-dashbord:latest .

docker push $GOOGLE_ARTIFACT_URL/$GOOGLE_PROJECT_ID/$GOOGLE_ARTIFACT_REPO/entity-developer-dashbord:latest
Deploy-Pipeline:
Expand Down
36 changes: 18 additions & 18 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,32 @@ COPY ./package.json .
RUN yarn

COPY . .
# ARG VUE_APP_TITLE
# ENV VUE_APP_TITLE=${VUE_APP_TITLE}
ARG VUE_APP_TITLE
ENV VUE_APP_TITLE=${VUE_APP_TITLE}

# ARG VUE_APP_DESC
# ENV VUE_APP_DESC=${VUE_APP_DESC}
ARG VUE_APP_DESC
ENV VUE_APP_DESC=${VUE_APP_DESC}

# ARG VUE_APP_VERSION
# ENV VUE_APP_VERSION=${VUE_APP_VERSION}
ARG VUE_APP_VERSION
ENV VUE_APP_VERSION=${VUE_APP_VERSION}

# ARG VUE_APP_STUDIO_SERVER_BASE_URL
# ENV VUE_APP_STUDIO_SERVER_BASE_URL=${VUE_APP_STUDIO_SERVER_BASE_URL}
ARG VUE_APP_STUDIO_SERVER_BASE_URL
ENV VUE_APP_STUDIO_SERVER_BASE_URL=${VUE_APP_STUDIO_SERVER_BASE_URL}

# ARG VUE_APP_STUDIO_SERVER_BASE_WS
# ENV VUE_APP_STUDIO_SERVER_BASE_WS=${VUE_APP_STUDIO_SERVER_BASE_WS}
ARG VUE_APP_STUDIO_SERVER_BASE_WS
ENV VUE_APP_STUDIO_SERVER_BASE_WS=${VUE_APP_STUDIO_SERVER_BASE_WS}

# ARG VUE_APP_NODE_SERVER_BASE_URL
# ENV VUE_APP_NODE_SERVER_BASE_URL=${VUE_APP_NODE_SERVER_BASE_URL}
ARG VUE_APP_NODE_SERVER_BASE_URL
ENV VUE_APP_NODE_SERVER_BASE_URL=${VUE_APP_NODE_SERVER_BASE_URL}

# ARG VUE_APP_NODE_SERVER_BASE_URL_REST
# ENV VUE_APP_NODE_SERVER_BASE_URL_REST=${VUE_APP_NODE_SERVER_BASE_URL_REST}
ARG VUE_APP_NODE_SERVER_BASE_URL_REST
ENV VUE_APP_NODE_SERVER_BASE_URL_REST=${VUE_APP_NODE_SERVER_BASE_URL_REST}

# ARG VUE_APP_EXPLORER_BASE_URL
# ENV VUE_APP_EXPLORER_BASE_URL=${VUE_APP_EXPLORER_BASE_URL}
ARG VUE_APP_EXPLORER_BASE_URL
ENV VUE_APP_EXPLORER_BASE_URL=${VUE_APP_EXPLORER_BASE_URL}

# ARG VUE_APP_WEB_WALLET_ADDRESS
# ENV VUE_APP_WEB_WALLET_ADDRESS=${VUE_APP_WEB_WALLET_ADDRESS}
ARG VUE_APP_WEB_WALLET_ADDRESS
ENV VUE_APP_WEB_WALLET_ADDRESS=${VUE_APP_WEB_WALLET_ADDRESS}


RUN yarn build
Expand Down