Hi,
We have quite a few projects in Bitbucket Cloud and use Bitbucket Pipelines to build and deploy. All projects use the same bitbucket-pipelines-yml file. Some projects use PHP 7.2 and others 7.3.
Is it possible to load the docker image to be used dynamically? I tried adding a variable called: "IMAGE" and in the bitbucket-pipelines.yml file change the image to:
---
image:
name: $IMAGE
This results in an error. If this is possible we could easily configure which image needs to be used by all our projects and can change the image if we want on the repository variable.
Hello. I am looking for the answer as well. Is it possible?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.