Skip to content

Commit

Permalink
docker registry name from library variables
Browse files Browse the repository at this point in the history
  • Loading branch information
zecarrera committed Jul 9, 2024
1 parent a28a1fa commit f7b3671
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions build/azDevOps/azure/azure-pipelines-javaspring-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ variables:
value: "azul_java"

- name: k8s_docker_registry_nonprod
value: "${{ variables.docker_container_registry_name_nonprod }}.azurecr.io"
value: "$(DOCKER_CONTAINER_REGISTRY_NAME).azurecr.io"
- name: k8s_docker_registry_prod
value: "${{ variables.docker_container_registry_name_prod }}.azurecr.io"
value: "$(DOCKER_CONTAINER_REGISTRY_NAME).azurecr.io"

# BUILD ARTIFACTS across stages
- name: build_artifact_deploy_path
Expand Down Expand Up @@ -180,6 +180,7 @@ stages:
- stage: Build
variables:
# You can find notes in the READMEs around which values to use for each ENV variable group
- group: azure-acr-creds
- group: azure-sp-creds
- group: stacks-infra-credentials-nonprod
- group: stacks-credentials-nonprod-kv
Expand Down Expand Up @@ -286,7 +287,7 @@ stages:
docker_build_additional_args: "."
docker_image_name: "${{ variables.docker_image_name }}"
docker_image_tag: "${{ variables.docker_image_tag }}"
docker_container_registry_name: "${{ variables.docker_container_registry_name_nonprod }}"
docker_container_registry_name: "$(DOCKER_CONTAINER_REGISTRY_NAME)"
# Azure
azure_client_id: "$(ARM_CLIENT_ID)"
azure_client_secret: "$(ARM_CLIENT_SECRET)"
Expand Down
2 changes: 1 addition & 1 deletion build/azDevOps/azure/azuredevops-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ variables:

# Container registry configuration
- name: docker_container_registry_name_nonprod
value: ensonostacksnonprodeuwcore
value: ensonostackseuweirdfmu
- name: docker_container_registry_name_prod
value: amidostacksprodeuwcore

Expand Down

0 comments on commit f7b3671

Please sign in to comment.