> ## Documentation Index
> Fetch the complete documentation index at: https://docs.akua.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# akua pkg publish

> Pack, push, sign and attest the workspace's Package. With akua, omit --ref to publish privately to your Workspace. Private images guide: https://docs.akua.dev/private-images

```sh
akua pkg publish [flags]
```

| Flag | Type | Description |
| - | - | - |
| `--ref` | string | Target repository (`oci://<registry>/<repo>`); `akua pkg publish` without it hosts the Package privately in the Workspace |
| `--tag` | string | Tag; defaults to [package].version |
| `--no-sign` | boolean | Skip cosign signing even when a private key is configured |
| `--no-attest` | boolean | Skip the SLSA attestation (it always pairs with signing) |
| `--workspace` | string | Workspace root containing akua.toml |

Every command also accepts the [universal flags](https://docs.akua.dev/akua/cli#universal-flags).

## Related topics

> [card] [akua pkg commands](https://docs.akua.dev/akua/cli.md)
>
> Every command, the universal flags and the exit codes.

> [card] [Error codes](https://docs.akua.dev/akua/errors.md)
>
> What each structured error means and how to resolve it.
