Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 2 KB

cosign_upload_wasm.md

File metadata and controls

40 lines (29 loc) · 2 KB

cosign upload wasm

Upload a wasm module to the supplied container image reference

cosign upload wasm [flags]

Examples

  cosign upload wasm -f foo.wasm <image uri>

Options

      --allow-http-registry                                                                      whether to allow using HTTP protocol while connecting to registries. Don't use this for anything but testing
      --allow-insecure-registry                                                                  whether to allow insecure connections to registries (e.g., with expired or self-signed TLS certificates). Don't use this for anything but testing
      --attachment-tag-prefix [AttachmentTagPrefix]sha256-[TargetImageDigest].[AttachmentName]   optional custom prefix to use for attached image tags. Attachment images are tagged as: [AttachmentTagPrefix]sha256-[TargetImageDigest].[AttachmentName]
  -f, --file string                                                                              path to the wasm file to upload
  -h, --help                                                                                     help for wasm
      --k8s-keychain                                                                             whether to use the kubernetes keychain instead of the default keychain (supports workload identity).
      --registry-password string                                                                 registry basic auth password
      --registry-token string                                                                    registry bearer auth token
      --registry-username string                                                                 registry basic auth username

Options inherited from parent commands

      --output-file string   log output to a file
  -t, --timeout duration     timeout for commands (default 3m0s)
  -d, --verbose              log debug output

SEE ALSO

  • cosign upload - Provides utilities for uploading artifacts to a registry