Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is the Name parameter under private image able to be parameterized?

When defining a private image to call during a custom pipeline, I am not able to parameterize the name parameter under image module. 

We are allowed to parameterize the Username and Password fields but the not the Name field. 

 

This would be helpful as I would only have to set the variable for the registry and tag inside my repository variables as opposed to the bitbucket-pipelines.yml file. 

 

Deploy AKS Cluster:
- variables:
- name: environment
- step:
name: Deploying Azure Kubernetes Service Cluester
image:
#Must be updated using the latest Docker Image
name: private.registry/private.image:tag
username: $ACR_NAME
password: $ACR_PWD
script:
- ansible-playbook -vvv playbooks/authenticate_azure_setup.yml --extra-vars "env=$environment"
- ansible-playbook -vvv playbooks/resource_group_setup.yml --extra-vars "env=$environment"
- ansible-playbook -vvv playbooks/azure_aks_create.yaml --extra-vars "env=$environment"

1 answer

This is a really important one for us too.

We've got ~12 repos, and having to go and change our custom image's version number for all will be horrible. We're currently using `latest`, but it's not a great solution. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,057 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you