@frankhills you cannot define “commands” for plugin steps. When you define commands, you override the entrypoint of the plugin image, which prevents the plugin from executing.
when i remove command from my step the pipeline is successful but the thing is i don’t see building any docker image and publish them in ecr do we need to add some step or lines in settings?
the plugin automatically runs docker build and docker publish. See this tutorial that Ravi published that walks through the process, and includes screenshots.
You would create two separate steps, one for each dockerfile. You can then specify in your settings which dockerfile each individual step should use (see this example which does something similar).
@bradrydzewski can you suggest steps or guide me to pull image from ecr since i need it in different pipelines and by default aws ecr docker token is only validate for 12 hours and “dockerconfigjson” do not seems to work.