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

run pipline sequentially

a.farouk April 17, 2021

pipelines:
  default:
          - step:
             build + push
tags
       api-1
       api-2

 

i want to use build image one only and use this image in different tag (api-1 & api-2)

what can i do when push new commit with api-1 and api-2
i want default run first and after that run tags

1 answer

0 votes
Justin Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 3, 2021

@a.farouk Bitbucket Pipelines allows you to trigger only one build for any tag/branch/ref changes. If you want to run a common step across multiple pipelines I would suggest using YAML anchors.

YAML anchor should allow you to reuse step defined in the default pipeline across tag api-1 and api-2.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events