Skip to content

Commit

Permalink
Example on how to wire an image via exec mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcudd committed Oct 15, 2024
1 parent 8dbb923 commit 8f3d313
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:
whalesayImage: "${ 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 8f3d313

Please sign in to comment.