Skip to content

Commit

Permalink
change image name to reflect MCR repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
jananivMS committed May 15, 2020
1 parent 5331ca1 commit 5af15c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ variables:
#GOPATH: '$(System.DefaultWorkingDirectory)/gopath' # Go workspace path
#GOBIN: '$(GOPATH)/bin' # Go binaries path
MODULE_PATH: '$(System.DefaultWorkingDirectory)/src/$(Build.Repository.Name)' # Path to the module's code
IMAGE_NAME: 'candidate/k8s/azure-service-operator'
IMAGE_NAME: 'candidate/k8s/azureserviceoperator'
KUBEBUILDER_ASSETS: $(go env GOPATH)/bin
# CONTAINER_REGISTRY: - set this value in Azure Devops variables - Name of Release ACR Service Connection
# AZURE_SUBSCRIPTION_ID - set this value in Azure Devops variables
Expand Down Expand Up @@ -186,7 +186,7 @@ steps:
# Replace image repository in values.yaml to the official image in ACR
img="$MAJOR_VERSION.$MINOR_VERSION.$PATCH_VERSION"
echo $img
sed -i -e 's@azure-service-operator:latest@azure-service-operator:'${img}'@' charts/azure-service-operator/values.yaml
sed -i -e 's@azure-service-operator:latest@azureserviceoperator:'${img}'@' charts/azure-service-operator/values.yaml
# create directory for generated files
mkdir charts/azure-service-operator/templates/generated
# generate files using kustomize
Expand Down

0 comments on commit 5af15c9

Please sign in to comment.