Hello,
I don't know if this currently exists...
But is there a way for me to declare a global image across all branches and steps and declare a different image in some steps that would override the default globally declared image.
Say something like this
image: node:...
pipelines:
default:
- step:
script:
branches:
dev:
- step:
image: ubuntu
script:
Yes, there is and exactly like you imagined.
You can (but must not) specify an image at the top level (`image: node....` in your example). If not specified this is the Default build environment - Use Docker images as build environments.
That can be overridden on step level exactly as in your example on any `- step` (`image: ubuntu`), see Configure bitbucket-pipelines.yml for a more lengthy outline.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.