Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Noxsios committed Mar 8, 2023
1 parent 7ff65a8 commit 85e8c0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
2 changes: 0 additions & 2 deletions docs/13-walkthroughs/6-publish-and-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

In this walkthrough, we are going to run through how to publish a Zarf package to an [OCI](https://github.com/opencontainers/image-spec) compliant registry, allowing end users to pull and deploy packages without needing to build locally, or transfer the package to their environment.

![Walkthrough GIF](../.images/walkthrough-6.gif)

## Prerequisites

For following along locally, please ensure the following prerequisites are met:
Expand Down
22 changes: 6 additions & 16 deletions docs/13-walkthroughs/6-publish-and-deploy.tape
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Output docs/.images/walkthrough-6.gif
Output docs/.images/walkthrough-6.webm

Set FontSize 16
Set Width 1200
Expand All @@ -7,7 +7,7 @@ Set FontFamily "Hack Nerd Font"
Set Shell bash

Hide
Type "cd /tmp"
Type "cd /tmp"
Enter
Type "alias zarf='~/dev/zarf/build/zarf-mac-apple'"
Enter
Expand Down Expand Up @@ -104,21 +104,12 @@ Sleep 1s
Ctrl+C
Sleep 3s

# temporarily here while package structure is being updated, this is a manually modified package
Hide
Type "rm zarf-package-helm-oci-chart-arm64-0.0.1.tar.zst"
Enter
Type "cp ~/dev/zarf/examples/helm-oci-chart/zarf-package-helm-oci-chart-arm64.tar.zst ."
Enter
Ctrl+L
Show

Type "🦄 Publish the Zarf package to Docker Hub"
Sleep 3s
Ctrl+C
Enter

Type "zarf package publish zarf-package-helm-oci-chart-arm64.tar.zst oci://docker.io/noxsios"
Type "zarf package publish zarf-package-helm-oci-chart-arm64-0.0.1.tar.zst oci://docker.io/noxsios"
Sleep 1s
Enter
Sleep 15s
Expand All @@ -128,7 +119,7 @@ Sleep 3s
Ctrl+C
Enter

Type "zarf package inspect oci://docker.io/noxsios/helm-oci-chart"
Type "zarf package inspect oci://docker.io/noxsios/helm-oci-chart:0.0.1-arm64"
Enter
Sleep 1s
Enter
Expand All @@ -139,7 +130,6 @@ Sleep 3s
Ctrl+C
Enter

# currently broken on final step until some file structure changes are made
Type "zarf package deploy oci://docker.io/noxsios/helm-oci-chart:0.0.1-arm64"
Sleep 1s
Enter
Expand All @@ -161,9 +151,9 @@ Sleep 10s
Hide
Type "cd /tmp"
Enter
Type "rm -rf /tmp/zarf-publish-walkthrough"
Type "rm -rf /tmp/zarf-publish-walkthrough"
Enter
Type "unalias zarf"
Enter
Ctrl+L
Show
Show

0 comments on commit 85e8c0e

Please sign in to comment.