we have created a pipeline which will run when a pull request is created. In this Pipeline we build a docker image and want to run some tests in it. So the build process will consume many build minutes. When the pipeline is finished we can merge the pull request. Now we have the problem. When we merge the pull request into the branch another pipeline will start running and will deploy the changes to our registry. But we don't want to build the images again. So the question is: Can we trigger the last step of the pull request pipeline if the pull request gets merged? Or can we share the image between the pipelines? I have thinked about pushing the image with the commit sha as tag to the registry in the pull request pipeline. But I don't know how to get the sha in the next pipeline dynamically to use the right image.
Thanks for youre help!
Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their Jira Cloud instance. ...
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