Skip to content

Commit

Permalink
Exec image wiring (#3238)
Browse files Browse the repository at this point in the history
* Example on how to wire an image via exec mixin

Signed-off-by: John Cudd <[email protected]>

* Small tweak to naming

Signed-off-by: John Cudd <[email protected]>

---------

Signed-off-by: John Cudd <[email protected]>
  • Loading branch information
jmcudd authored Oct 16, 2024
1 parent 8dbb923 commit 9ece995
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/content/docs/references/examples/airgap.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,20 @@ Porter handles tracking the image location for you, just use the template variab
[images]: /docs/bundle/manifest/#images
If using exec mixin, image digests can be passed via environmental variables or arguments.
```yaml
install:
- exec:
description: "Insall WhaleGap"
command: ./porter-scripts.sh
arguments:
- install
envs:
IMAGE_whalesayd: "${ bundle.images.whalesayd.repository }@${ bundle.images.whalesayd.digest }"
```
## Move the bundle across the airgap
Let's simulate moving the bundle across an airgap by publishing the bundle to a different registry.
Expand Down

0 comments on commit 9ece995

Please sign in to comment.