github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/site/reference/cli/alpha/wasm/push/README.md (about)

     1  ---
     2  title: "`push`"
     3  linkTitle: "push"
     4  type: docs
     5  description: >
     6  Push WASM modules.
     7  ---
     8  
     9  <!--mdtogo:Short
    10      Compress a WASM module and push it as an OCI image.
    11  -->
    12  
    13  `push` compresses a WASM module and push it as an OCI image.
    14  
    15  ### Synopsis
    16  
    17  <!--mdtogo:Long-->
    18  
    19  ```
    20  kpt alpha wasm push [LOCAL_PATH] [IMAGE]
    21  ```
    22  
    23  #### Args
    24  
    25  ```
    26  LOCAL_PATH:
    27    The path to the wasm file.
    28  IMAGE:
    29    The desired name of an image. It must be a tag.
    30  ```
    31  
    32  <!--mdtogo-->
    33  
    34  ### Examples
    35  
    36  <!--mdtogo:Examples-->
    37  
    38  ```shell
    39  # compress ./my-fn.wasm and push it to gcr.io/my-org/my-fn:v1.0.0
    40  $ kpt alpha wasm push ./my-fn.wasm gcr.io/my-org/my-fn:v1.0.0
    41  ```
    42  
    43  <!--mdtogo-->