I try to set up remote builde of my AppEngine app with Remote Builder image.
Here is my cloudbuild.yaml:
steps:
- name: gcr.io/{PROJECT_NAME}/remote-builder
env:
- ZONE=us-east1-b
- INSTANCE_NAME=Remote_Cloud_Build
- INSTANCE_ARGS=--image-project cos-cloud --image-family cos-stable
I've taken this values from remote builder example
But when I try to deploy it with gcloud builds submit --config cloudbuild.yaml
I get an error:
/bin/run-builder.sh: line 2: $'\r': command not found
Could you please help me with it?
Thanks in advance!
Asked
Active
Viewed 137 times
0

Pizza eu
- 1,419
- 1
- 14
- 27
1 Answers
0
The issue was related to windows style run-builder.sh
file ending. I've changed it from CRLF to LF and it works

Pizza eu
- 1,419
- 1
- 14
- 27