Hello,
I have a PHP project (basic, with composer). I would like that when team members make a merge requests, there would be a pipeline that simply runs phpunit while on tags following a certain pattern there would be a docker build for an image that is then pushed.
Now the second part is already up and running, using
image: atlassian/default-image:2
pipelines:
tags: v*:
- step:
services:
- docker
script:
- ... run docker build and push
So my question is:
is there a way to use another image for my purpose in the same pipeline file? From what I can see, I can't have two pipeline yml in the same project.
From what I gather, my next choice would be to run some docker commands against my own custom Docker image.