Skip to content

Commit

Permalink
add AEM_BASE_URL to Dockerfile and pipelines (#1054)
Browse files Browse the repository at this point in the history
  • Loading branch information
will0684 committed Jun 21, 2024
1 parent 08e0700 commit 911ce75
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions AzurePipelines/dev-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ stages:
--build-arg ISR_ENABLED=$(ISR_ENABLED)
--build-arg THANK_YOU_EMAIL=$(THANK_YOU_EMAIL)
--build-arg AEM_GRAPHQL_ENDPOINT=$(AEM_GRAPHQL_ENDPOINT)
--build-arg AEM_BASE_URL=$(AEM_BASE_URL)
--build-arg REVALIDATION_TOKEN=$(REVALIDATION_TOKEN)
--build-arg GIT_SHA=$(Build.SourceVersion)
--build-arg ENVIRONMENT=$(ENVIRONMENT)
Expand Down
1 change: 1 addition & 0 deletions AzurePipelines/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ steps:
--build-arg NEXT_PUBLIC_NOTIFY_REPORT_A_PROBLEM_EMAIL=$(NEXT_PUBLIC_NOTIFY_REPORT_A_PROBLEM_EMAIL)
--build-arg THANK_YOU_EMAIL=$(THANK_YOU_EMAIL)
--build-arg AEM_GRAPHQL_ENDPOINT=$(AEM_GRAPHQL_ENDPOINT)
--build-arg AEM_BASE_URL=$(AEM_BASE_URL)
--build-arg REVALIDATION_TOKEN=$(REVALIDATION_TOKEN)
--build-arg GIT_SHA=$(GIT_SHA)
--build-arg ENVIRONMENT=$(ENVIRONMENT)
Expand Down
3 changes: 2 additions & 1 deletion AzurePipelines/prod-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ stages:
--build-arg ADOBE_ANALYTICS_URL=$(ADOBE_ANALYTICS_URL)
--build-arg NEXT_PUBLIC_NOTIFY_REPORT_A_PROBLEM_EMAIL=$(NEXT_PUBLIC_NOTIFY_REPORT_A_PROBLEM_EMAIL)
--build-arg THANK_YOU_EMAIL=$(THANK_YOU_EMAIL)
--build-arg AEM_GRAPHQL_ENDPOINT=$(AEM_GRAPHQL_ENDPOINT)
--build-arg AEM_GRAPHQL_ENDPOINT=$(AEM_GRAPHQL_ENDPOINT)
--build-arg AEM_BASE_URL=$(AEM_BASE_URL)
--build-arg REVALIDATION_TOKEN=$(REVALIDATION_TOKEN)
--build-arg GIT_SHA=$(GIT_SHA)
--build-arg ENVIRONMENT=$(ENVIRONMENT)
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ COPY . .
ARG NEXT_PUBLIC_BUILD_DATE
ARG NEXT_PUBLIC_BUILD_ID
ARG AEM_GRAPHQL_ENDPOINT
ARG AEM_BASE_URL
ARG ADOBE_ANALYTICS_URL=""
ARG ISR_ENABLED
ARG THANK_YOU_EMAIL
Expand Down

0 comments on commit 911ce75

Please sign in to comment.