Skip to content

Commit

Permalink
Switch example from using ImageNameSelector to ImageName
Browse files Browse the repository at this point in the history
Signed-off-by: Hunter Gerlach <hunter@huntergerlach.com>
  • Loading branch information
HunterGerlach authored and thepetk committed Apr 3, 2024
1 parent a0bc065 commit 997d1b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions libs/docs/src/docs/2.2.1/innerloop-vs-outerloop.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,14 @@ The component and commands here allow the developer to build, run, debug, and te
### Procedure

1. Add an image component to define the image building process
1. Label your image tag with `imageNameSelector`
1. Label your image tag with `imageName`
2. Define your `dockerfile` with your file path, build context and if your build requires root privileges

```yaml
components:
- name: outerloop-build
image:
imageNameSelector: landingpage-image:latest
imageName: landingpage-image:latest
dockerfile:
uri: docker/Dockerfile
buildContext: .
Expand All @@ -212,7 +212,7 @@ The component and commands here allow the developer to build, run, debug, and te
components:
- name: outerloop-build
image:
imageNameSelector: landingpage-image:latest
imageName: landingpage-image:latest
dockerfile:
uri: docker/Dockerfile
buildContext: .
Expand Down Expand Up @@ -261,7 +261,7 @@ metadata:
components:
- name: outerloop-build
image:
imageNameSelector: landingpage-image:latest
imageName: landingpage-image:latest
dockerfile:
uri: docker/Dockerfile
buildContext: .
Expand Down
8 changes: 4 additions & 4 deletions libs/docs/src/docs/2.2.2/innerloop-vs-outerloop.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,14 @@ The component and commands here allow the developer to build, run, debug, and te
### Procedure

1. Add an image component to define the image building process
1. Label your image tag with `imageNameSelector`
1. Label your image tag with `imageName`
2. Define your `dockerfile` with your file path, build context and if your build requires root privileges

```yaml
components:
- name: outerloop-build
image:
imageNameSelector: landingpage-image:latest
imageName: landingpage-image:latest
dockerfile:
uri: docker/Dockerfile
buildContext: .
Expand All @@ -212,7 +212,7 @@ The component and commands here allow the developer to build, run, debug, and te
components:
- name: outerloop-build
image:
imageNameSelector: landingpage-image:latest
imageName: landingpage-image:latest
dockerfile:
uri: docker/Dockerfile
buildContext: .
Expand Down Expand Up @@ -261,7 +261,7 @@ metadata:
components:
- name: outerloop-build
image:
imageNameSelector: landingpage-image:latest
imageName: landingpage-image:latest
dockerfile:
uri: docker/Dockerfile
buildContext: .
Expand Down

0 comments on commit 997d1b0

Please sign in to comment.