Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitda2f676

Browse files
authored
Merge pull request#510 from codefresh-io/cf-yaml-example-fix-CR-14406
Update build-an-image-with-the-dockerfile-in-root-directory.md
2 parents9b09e88 +8615f76 commitda2f676

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎_docs/yaml-examples/examples/build-an-image-with-the-dockerfile-in-root-directory.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ The same thing can also be achieved within a Codefresh pipeline:
2929

3030
`codefresh.yml`
3131
{% highlight yaml %}
32+
{% raw %}
3233
version: '1.0'
3334
steps:
3435
main_clone:
@@ -41,9 +42,10 @@ steps:
4142
title: Building Node.Js Docker Image
4243
type: build
4344
image_name: my-app
44-
working_directory: '.'
45+
working_directory: '${{main_clone}}'
4546
tag: 'master'
4647
dockerfile: Dockerfile
48+
{% endraw %}
4749
{% endhighlight %}
4850

4951
This pipeline checks out the source code of the repository and then builds a dockerfile found at the root folder of the project.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp