# Make a new directory to work in
$ mkdir -p zarf-publish-tutorial && cd zarf-publish-tutorial

# For this tutorial we will use the  example package
# located here: https://github.com/zarf-dev/zarf/blob/main/examples/helm-oci-chart/zarf.yaml
$ cat <<EOF > zarf.yaml
kind: ZarfPackageConfig
metadata:
  name: helm-oci-chart
  description: Deploy podinfo using a Helm OCI chart
  # Note: In order to publish, the package must have a version
  version: 0.0.1

components:
  - name: helm-oci-chart
    required: true
    charts:
      - name: podinfo
        version: 6.3.3
        namespace: helm-oci-demo
        url: oci://ghcr.io/stefanprodan/charts/podinfo
    images:
      - ghcr.io/stefanprodan/podinfo:6.3.3
EOF