# image_tag

Add a new tag to an existing image (static function).

```rhai
builder.image_tag(image, new_name) -> CommandResult
```

## Parameters

- `image` (string): Existing image name or ID
- `new_name` (string): New tag to add

## Returns

Returns a `CommandResult` with the tag operation output.

## Examples

```rhai
let builder = bah_new("temp", "ubuntu:22.04");

// Tag an image with a new name
let result = builder.image_tag("myimage:latest", "myimage:v1.0");

// Tag for a different registry
let result2 = builder.image_tag("myimage:latest", "registry.local/myimage:latest");

print(result.stdout);
```

## Notes

- This is a static method
- Does not create a new image, just adds a tag
- The original tag remains unchanged
