# Pipeline Steps

**URL:** https://community.codefresh.io/c/pipeline-steps/49.md

[Latest](https://community.codefresh.io/latest.md) · [Categories](https://community.codefresh.io/categories.md)

---

## [About the Pipeline Steps category](https://community.codefresh.io/t/about-the-pipeline-steps-category/553)

<div class="topic-metadata">

**Author:** [@dustinvb](https://community.codefresh.io/u/dustinvb)\
**Replies:** 0\
**Last updated:** [May 25, 2021, 10:57pm UTC](https://community.codefresh.io/t/about-the-pipeline-steps-category/553 "2021-05-25T22:57:58Z")

</div>

Topics related to the actions you are modeling at each step in your pipeline workflow.

---

## [Service Composition can't read docker-compose.yml file](https://community.codefresh.io/t/service-composition-cant-read-docker-compose-yml-file/1008)

<div class="topic-metadata">

**Author:** [@Ghrafkly](https://community.codefresh.io/u/Ghrafkly)\
**Replies:** 1\
**Last updated:** [October 9, 2024, 8:41am UTC](https://community.codefresh.io/t/service-composition-cant-read-docker-compose-yml-file/1008 "2024-10-09T08:41:25Z")

</div>

NOTE: This is codefresh running on-prem on version 2.0.17 Hi, I am trying to use a docker-compose.yml file in the service: composition step like so service: composition: \<path-to-file\>/docker-compose-postgres.yml H…

---

## [Cant push image to the ecr](https://community.codefresh.io/t/cant-push-image-to-the-ecr/995)

<div class="topic-metadata">

**Author:** [@house](https://community.codefresh.io/u/house)\
**Replies:** 1\
**Last updated:** [July 26, 2024, 8:51am UTC](https://community.codefresh.io/t/cant-push-image-to-the-ecr/995 "2024-07-26T08:51:40Z")

</div>

pipe stopped in push to ecr step, no error reported.

---

## [Getting dual plug-in error on Helm push step](https://community.codefresh.io/t/getting-dual-plug-in-error-on-helm-push-step/987)

<div class="topic-metadata">

**Author:** [@Adam\_Leary](https://community.codefresh.io/u/Adam_Leary)\
**Replies:** 3\
**Last updated:** [June 28, 2024, 1:43pm UTC](https://community.codefresh.io/t/getting-dual-plug-in-error-on-helm-push-step/987 "2024-06-28T13:43:26Z")

</div>

v3.13.1+g3547a4b \[2024-06-21T20:42:57.143Z\] Reading environment variable exporting file contents. \[2024-06-21T20:42:56.960Z\] failed to load plugins: two plugins claim the name "push" at "/root/.helm/helm/plugins/helm-pus…

---

## [Reuse the same docker-compose.yml locally + in CI](https://community.codefresh.io/t/reuse-the-same-docker-compose-yml-locally-in-ci/589)

<div class="topic-metadata">

**Author:** [@Ryan\_Collingham](https://community.codefresh.io/u/Ryan_Collingham)\
**Replies:** 4\
**Last updated:** [May 1, 2024, 7:37pm UTC](https://community.codefresh.io/t/reuse-the-same-docker-compose-yml-locally-in-ci/589 "2024-05-01T19:37:56Z")

</div>

Hello, I am trying to do something that surely must be a very common requirement, yet I’m finding it very difficult to achieve with codefresh. I am developing a service, which has lots of dependencies on other services …

---

## [Postgress init file cannot be found when run in codefresh](https://community.codefresh.io/t/postgress-init-file-cannot-be-found-when-run-in-codefresh/968)

<div class="topic-metadata">

**Author:** [@Dmytro\_Koshubskyi](https://community.codefresh.io/u/Dmytro_Koshubskyi)\
**Replies:** 3\
**Last updated:** [February 1, 2024, 4:18pm UTC](https://community.codefresh.io/t/postgress-init-file-cannot-be-found-when-run-in-codefresh/968 "2024-02-01T16:18:31Z")

</div>

Hi I have init.sql file in the same folder as docker-compose.yml, when it runs in Codefresh I get this error \[2024-01-30T15:57:58.457Z\] postgres | psql:/docker-entrypoint-initdb.d/init.sql: error:…

---

## [More detailed error messages when docker-compose.yml can't be parsed](https://community.codefresh.io/t/more-detailed-error-messages-when-docker-compose-yml-cant-be-parsed/950)

<div class="topic-metadata">

**Author:** [@alza](https://community.codefresh.io/u/alza)\
**Replies:** 1\
**Last updated:** [October 31, 2023, 2:54pm UTC](https://community.codefresh.io/t/more-detailed-error-messages-when-docker-compose-yml-cant-be-parsed/950 "2023-10-31T14:54:43Z")

</div>

Hi there, I’m trying to re-use an existing docker-compose.yml definition with Codefresh service containers using services: composition: \<myproject\>/docker-compose.yml Codefresh is having trouble parsing my docker-…

---

## [/bin/sh: syntax error: unexpected ";"](https://community.codefresh.io/t/bin-sh-syntax-error-unexpected/449)

<div class="topic-metadata">

**Author:** [@Yair\_Fried](https://community.codefresh.io/u/Yair_Fried)\
**Replies:** 5\
**Last updated:** [August 9, 2023, 3:06pm UTC](https://community.codefresh.io/t/bin-sh-syntax-error-unexpected/449 "2023-08-09T15:06:08Z")

</div>

We keep getting this failure message on various freestyle steps. Usually when there are several multiline commands. Seems like something is off with either the yaml parser or the CF execution. commands: - set -x …

---

## [Shallow git clone?](https://community.codefresh.io/t/shallow-git-clone/479)

<div class="topic-metadata">

**Author:** [@Joshua\_Dickerson](https://community.codefresh.io/u/Joshua_Dickerson)\
**Replies:** 2\
**Last updated:** [January 12, 2023, 7:04am UTC](https://community.codefresh.io/t/shallow-git-clone/479 "2023-01-12T07:04:37Z")

</div>

Does the git clone step do a shallow clone? It takes 30 seconds to do a clone. When I run a clone locally, that’s how long it takes for a non-shallow clone. There’s probably nobody using CF that wants to clone the entir…

---

## [Disable \`io.codefresh.repo\` image LABELS to avoid cache busting](https://community.codefresh.io/t/disable-io-codefresh-repo-image-labels-to-avoid-cache-busting/864)

<div class="topic-metadata">

**Author:** [@JoshuaCWebDeveloper](https://community.codefresh.io/u/JoshuaCWebDeveloper)\
**Replies:** 1\
**Last updated:** [January 11, 2023, 9:50am UTC](https://community.codefresh.io/t/disable-io-codefresh-repo-image-labels-to-avoid-cache-busting/864 "2023-01-11T09:50:48Z")

</div>

When I build a docker image, Codefresh automatically adds a bunch of labels to the image in the form of extra build steps. For example: "labels": { "io.codefresh.repo.owner": "vallerance", "io.codefresh.repo.b…

---

## [Build step \`Dockerfile\` default value is \`undefined\` on restart from failed](https://community.codefresh.io/t/build-step-dockerfile-default-value-is-undefined-on-restart-from-failed/867)

<div class="topic-metadata">

**Author:** [@JoshuaCWebDeveloper](https://community.codefresh.io/u/JoshuaCWebDeveloper)\
**Replies:** 1\
**Last updated:** [January 11, 2023, 9:43am UTC](https://community.codefresh.io/t/build-step-dockerfile-default-value-is-undefined-on-restart-from-failed/867 "2023-01-11T09:43:02Z")

</div>

When restarting from a failed step (as opposed to restarting from the beginning), the default value for the Dockerfile property of the build step is undefined, as evidenced by this error: Evaluating: step: lint must hav…

---

## [OpenSearch and codefresh services: Unable to run docker container as non-root](https://community.codefresh.io/t/opensearch-and-codefresh-services-unable-to-run-docker-container-as-non-root/830)

<div class="topic-metadata">

**Author:** [@vangheem\_kandji](https://community.codefresh.io/u/vangheem_kandji)\
**Replies:** 2\
**Last updated:** [August 11, 2022, 2:49pm UTC](https://community.codefresh.io/t/opensearch-and-codefresh-services-unable-to-run-docker-container-as-non-root/830 "2022-08-11T14:49:23Z")

</div>

I’m trying run open search in a codefresh pipeline services definition but I’m hitting this restriction check that does not allow the container to run with a root user: https://github.com/opensearch-project/opensearch-bu…

---

## [Failed to build when dockerfile pulls containers from github container repository](https://community.codefresh.io/t/failed-to-build-when-dockerfile-pulls-containers-from-github-container-repository/814)

<div class="topic-metadata">

**Author:** [@williamecunningham](https://community.codefresh.io/u/williamecunningham)\
**Replies:** 3\
**Last updated:** [July 7, 2022, 12:38pm UTC](https://community.codefresh.io/t/failed-to-build-when-dockerfile-pulls-containers-from-github-container-repository/814 "2022-07-07T12:38:03Z")

</div>

I am trying to use a docker build that pulls in containers from the GitHub container repository and adds them to the built docker image. This works on my MacBook from the command shell but when I try to run it in CodeFr…

---

## [Failed to push to image (ECR)](https://community.codefresh.io/t/failed-to-push-to-image-ecr/329)

<div class="topic-metadata">

**Author:** [@farisology](https://community.codefresh.io/u/farisology)\
**Replies:** 9\
**Last updated:** [February 25, 2022, 12:38pm UTC](https://community.codefresh.io/t/failed-to-push-to-image-ecr/329 "2022-02-25T12:38:09Z")

</div>

I have been trying to push my built image into ECR. My ECR credentials are configured in the docker integration settings. From there on I have been facing issues in the pushing step and looked everywhere to make sense of…

---

## [Shared volumes in freestyle composition](https://community.codefresh.io/t/shared-volumes-in-freestyle-composition/156)

<div class="topic-metadata">

**Author:** [@xtrntr](https://community.codefresh.io/u/xtrntr)\
**Replies:** 16\
**Last updated:** [January 6, 2022, 9:29am UTC](https://community.codefresh.io/t/shared-volumes-in-freestyle-composition/156 "2022-01-06T09:29:23Z")

</div>

run\_integration\_tests: title: Test pipeline stage: test-build working\_directory: IMAGE\_WORK\_DIR image: '${{build\_scheduler}}' commands: - ls - ./integration-test.sh services…

---

## [PagerDuty Alerts](https://community.codefresh.io/t/pagerduty-alerts/647)

<div class="topic-metadata">

**Author:** [@dustinvb](https://community.codefresh.io/u/dustinvb)\
**Replies:** 2\
**Last updated:** [October 27, 2021, 4:21pm UTC](https://community.codefresh.io/t/pagerduty-alerts/647 "2021-10-27T16:21:32Z")

</div>

New step created pagerduty-alert supporting PagerDuty Incidents and Change Events. Incidents will notify the appropriate group or user at PagerDuty as to an issue with Codefresh Pipeline. Change Events are used to wate…

---

## [ServiceNow Change Management](https://community.codefresh.io/t/servicenow-change-management/648)

<div class="topic-metadata">

**Author:** [@laurent.rochette](https://community.codefresh.io/u/laurent.rochette)\
**Replies:** 0\
**Last updated:** [October 14, 2021, 11:45pm UTC](https://community.codefresh.io/t/servicenow-change-management/648 "2021-10-14T23:45:16Z")

</div>

A new step to integrate with ServiceNow Change Management has been added to the marketplace The original version was explained in detail in the blog post but in short: Create a Change request Add a pending approval to…

---

## [Mounting Docker socket in composition step](https://community.codefresh.io/t/mounting-docker-socket-in-composition-step/615)

<div class="topic-metadata">

**Author:** [@qbiqing](https://community.codefresh.io/u/qbiqing)\
**Replies:** 1\
**Last updated:** [August 13, 2021, 12:22pm UTC](https://community.codefresh.io/t/mounting-docker-socket-in-composition-step/615 "2021-08-13T12:22:47Z")

</div>

I was referring to the guide here to access the Docker daemon in a Codefresh step. This is the thread I referred to before starting this issue: Shared volumes in freestyle composition - #12 by rsung The reason for doin…

---

## [Custom Slack Notifications for Approvals](https://community.codefresh.io/t/custom-slack-notifications-for-approvals/594)

<div class="topic-metadata">

**Author:** [@dustinvb](https://community.codefresh.io/u/dustinvb)\
**Replies:** 0\
**Last updated:** [July 21, 2021, 8:10pm UTC](https://community.codefresh.io/t/custom-slack-notifications-for-approvals/594 "2021-07-21T20:10:24Z")

</div>

There are newer abilities in Slack Notification step that will allow for custom approval notifications. In some scenarios you may want to create a flexible Slack notification that will be sent to a specific Slack channe…

---

## [Sonarqube Scanner CLI \[Updated\]](https://community.codefresh.io/t/sonarqube-scanner-cli-updated/585)

<div class="topic-metadata">

**Author:** [@dustinvb](https://community.codefresh.io/u/dustinvb)\
**Replies:** 0\
**Last updated:** [July 8, 2021, 7:11pm UTC](https://community.codefresh.io/t/sonarqube-scanner-cli-updated/585 "2021-07-08T19:11:35Z")

</div>

Step: https://codefresh.io/steps/step/sonar-scanner-cli What’s new? Sonarqube Scanner now supports Pull Requests and will scan the delta in the pull request. (See Example PR below) When using sonarcloud.io with this s…

---

## [KMS in codefresh](https://community.codefresh.io/t/kms-in-codefresh/568)

<div class="topic-metadata">

**Author:** [@DedySamhaz](https://community.codefresh.io/u/DedySamhaz)\
**Replies:** 1\
**Last updated:** [June 24, 2021, 7:20am UTC](https://community.codefresh.io/t/kms-in-codefresh/568 "2021-06-24T07:20:23Z")

</div>

I want to decrypt files using kms on codefresh but I can’t, can you guys help me to decrypt files on kms on codefresh?

---

## [Linux .NET Sonarqube Scanning Step](https://community.codefresh.io/t/linux-net-sonarqube-scanning-step/556)

<div class="topic-metadata">

**Author:** [@dustinvb](https://community.codefresh.io/u/dustinvb)\
**Replies:** 0\
**Last updated:** [May 26, 2021, 10:41pm UTC](https://community.codefresh.io/t/linux-net-sonarqube-scanning-step/556 "2021-05-26T22:41:59Z")

</div>

Runtime: Linux Supports: .NET Core 2.0 Purpose: Start Sonarqube scanner, Run MSBuild of .NET Core project, Collect Scan Results and post to Sonarqube Server. Step: Codefresh | sonar-scanner-dotnet-linux step Code: st…

---

## [Windows .NET Sonarqube Scanning Step](https://community.codefresh.io/t/windows-net-sonarqube-scanning-step/555)

<div class="topic-metadata">

**Author:** [@dustinvb](https://community.codefresh.io/u/dustinvb)\
**Replies:** 0\
**Last updated:** [May 26, 2021, 10:24pm UTC](https://community.codefresh.io/t/windows-net-sonarqube-scanning-step/555 "2021-05-26T22:24:41Z")

</div>

Runtime: Windows Supports: .NET 4.6+ Supported OS: Windows Server Build 17763.1935 Purpose: Start Sonarqube scanner, Option to restore Nuget, Run MSBuild of .NET project, Collect Scan Results and post to Sonarqube Ser…

---

## [Helm install step has validation error](https://community.codefresh.io/t/helm-install-step-has-validation-error/542)

<div class="topic-metadata">

**Author:** [@Adam\_Leary](https://community.codefresh.io/u/Adam_Leary)\
**Replies:** 2\
**Last updated:** [May 17, 2021, 4:07pm UTC](https://community.codefresh.io/t/helm-install-step-has-validation-error/542 "2021-05-17T16:07:44Z")

</div>

Hi there, We’ve been in the process of doing helm 3 updates. I’m encountering an error that I can’t seem to sort out. Running plugin DeployToDev …

---

## [Helm step 3.4.1 failed to load](https://community.codefresh.io/t/helm-step-3-4-1-failed-to-load/471)

<div class="topic-metadata">

**Author:** [@relaygus](https://community.codefresh.io/u/relaygus)\
**Replies:** 10\
**Last updated:** [February 12, 2021, 2:04pm UTC](https://community.codefresh.io/t/helm-step-3-4-1-failed-to-load/471 "2021-02-12T14:04:11Z")

</div>

I upgraded the step but I’m now getting the following warnings and error: Running plugin deploy Pulling image codefresh/cfstep-helm:3.4.1 Pulled layer '5a3ea8efae5d' Pulled layer '41b0e6f42508' Pulled layer 'ad3665eebd7…

---

## [Default registry for pulling images?](https://community.codefresh.io/t/default-registry-for-pulling-images/500)

<div class="topic-metadata">

**Author:** [@donn-leaf](https://community.codefresh.io/u/donn-leaf)\
**Replies:** 1\
**Last updated:** [February 11, 2021, 3:25pm UTC](https://community.codefresh.io/t/default-registry-for-pulling-images/500 "2021-02-11T15:25:14Z")

</div>

With the recent changes to Docker pull limits, our team is using a different registry to pull containers for our freestyle steps. Within the CF UI for registry configuration, there is a concept of Default Registry. But f…

---

## [Outdated helmfile step marked as "official"](https://community.codefresh.io/t/outdated-helmfile-step-marked-as-official/463)

<div class="topic-metadata">

**Author:** [@abronin](https://community.codefresh.io/u/abronin)\
**Replies:** 4\
**Last updated:** [December 16, 2020, 5:57pm UTC](https://community.codefresh.io/t/outdated-helmfile-step-marked-as-official/463 "2020-12-16T17:57:19Z")

</div>

Hey guys! I tried to use official “helmfile” step and got the error. The reason is this step is outdated: Step is based on the helmfile v0.108.0 while the last one is v0.132.2. See the difference? Last commit in the r…

---

## [Use custom registry for service container?](https://community.codefresh.io/t/use-custom-registry-for-service-container/460)

<div class="topic-metadata">

**Author:** [@donn-leaf](https://community.codefresh.io/u/donn-leaf)\
**Replies:** 1\
**Last updated:** [November 1, 2020, 2:04pm UTC](https://community.codefresh.io/t/use-custom-registry-for-service-container/460 "2020-11-01T14:04:53Z")

</div>

I’m trying to run an integration test which needs a service provided by a docker container that is pushed to our private ecr registry. The documentation makes me think this is not possible. Am I missing something? Thank…

---

## [Timeout when docker login](https://community.codefresh.io/t/timeout-when-docker-login/274)

<div class="topic-metadata">

**Author:** [@ATQ\_Ipiranga](https://community.codefresh.io/u/ATQ_Ipiranga)\
**Replies:** 2\
**Last updated:** [September 15, 2020, 12:13pm UTC](https://community.codefresh.io/t/timeout-when-docker-login/274 "2020-09-15T12:13:44Z")

</div>

Hi team! I am getting a timeout error when trying to log in via the docker to the registry. Steps I took: Machine: Clean Ubuntu 16.04 with direct internet connection I installed the docker (apt install docker. io) d…

---

## [Allow multiple Google Container Registries (GCR)](https://community.codefresh.io/t/allow-multiple-google-container-registries-gcr/369)

<div class="topic-metadata">

**Author:** [@christian-roggia](https://community.codefresh.io/u/christian-roggia)\
**Replies:** 5\
**Last updated:** [June 8, 2020, 5:11pm UTC](https://community.codefresh.io/t/allow-multiple-google-container-registries-gcr/369 "2020-06-08T17:11:05Z")

</div>

As far as I could understand from the documentation there is no way to set multiple Google Container Registries (GCR) in Codefresh. The only method provided by the current docs is to create a service account that is gran…

[Next page](https://community.codefresh.io/c/pipeline-steps/49.md?page=1)
