# nerdctl_image_push

Push an image to a registry.

```rhai
nerdctl_image_push(image, destination) -> CommandResult
```

## Parameters

- `image` (string): Local image name to push
- `destination` (string): Destination registry and tag

## Returns

Returns a `CommandResult` with the push operation output.

## Examples

```rhai
// Push to Docker Hub
let result = nerdctl_image_push("myapp:latest", "docker.io/user/myapp:latest");

// Push to GitHub Container Registry
let result2 = nerdctl_image_push("myapp:v1", "ghcr.io/user/myapp:v1");

print(result.stdout);
```

## Notes

- Requires authentication for most registries
- Use full registry path in destination
- Ensure image is tagged appropriately
