From 64434de5c502a4bbc3185ddeb98ed9add29443f3 Mon Sep 17 00:00:00 2001 From: Feri Ahmad N Date: Thu, 16 May 2024 15:55:07 +0700 Subject: [PATCH] chore(config): add url main service --- .github/workflows/production.yaml | 1 + .github/workflows/staging.yaml | 2 ++ Dockerfile | 2 ++ 3 files changed, 5 insertions(+) diff --git a/.github/workflows/production.yaml b/.github/workflows/production.yaml index b8741bfb..03cc6d65 100644 --- a/.github/workflows/production.yaml +++ b/.github/workflows/production.yaml @@ -52,6 +52,7 @@ jobs: URL_GET_TOKEN_TABLEAU=${{secrets.URL_GET_TOKEN_TABLEAU}} UNLEASH_URL=${{secrets.UNLEASH_URL}} UNLEASH_TOKEN=${{secrets.UNLEASH_TOKEN_PRODUCTION}} + URL_MAIN_SERVICE=${{secrets.URL_MAIN_SERVICE_PROD}} # GitOps - name: GitOps ArgoCD Setup run: | diff --git a/.github/workflows/staging.yaml b/.github/workflows/staging.yaml index bfc69d60..8180d9f9 100644 --- a/.github/workflows/staging.yaml +++ b/.github/workflows/staging.yaml @@ -53,6 +53,8 @@ jobs: UNLEASH_URL=${{secrets.UNLEASH_URL}} UNLEASH_TOKEN=${{secrets.UNLEASH_TOKEN_STAGING}} URL_MOCKAPI=${{secrets.URL_MOCKAPI}} + URL_MAIN_SERVICE=${{secrets.URL_MAIN_SERVICE}} + # GitOps - name: GitOps ArgoCD Setup run: | diff --git a/Dockerfile b/Dockerfile index dca22180..419330c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,6 +24,7 @@ ARG URL_GET_TOKEN_TABLEAU ARG UNLEASH_URL ARG UNLEASH_TOKEN ARG URL_MOCKAPI +ARG URL_MAIN_SERVICE ENV KEYCLOCK_BASE_URL $KEYCLOCK_BASE_URL ENV KEYCLOCK_CLIENT_ID $KEYCLOCK_CLIENT_ID @@ -45,6 +46,7 @@ ENV URL_GET_TOKEN_TABLEAU $URL_GET_TOKEN_TABLEAU ENV UNLEASH_URL $UNLEASH_URL ENV UNLEASH_TOKEN $UNLEASH_TOKEN ENV URL_MOCKAPI $URL_MOCKAPI +ENV URL_MAIN_SERVICE $URL_MAIN_SERVICE