awx/docs/build_awx_image.md
Hao Liu 86204cf23b
Publish amd64 and arm64 awx image on release (#15053)
* Stage multi-arch awx image

- change CI to use `make awx-kube-build` instead of build playbook
- update staging CI to build and push multiarch awx image
- update doc to use `make awx-kube-build` to build awx image
- remove build playbook (no longer used)
2024-04-09 09:50:09 -04:00

31 lines
729 B
Markdown

# Building the AWX Image
## Build & Push Image
To build a custom awx image to use with the awx-operator:
```
make awx-kube-build
```
> Note: The development image (`make docker-compose-build`) will not work with the awx-operator, the UI is not built in that image, among other things (see Dockerfile.j2 for more info).
This will build an AWX image and tag it. You can then push that image to your container registry:
```
$ docker push registry.example.com/awx:test
```
## Using this image with the awx-operator
In the spec section of the `my-awx.yml` file described in the [install docs](./../INSTALL.md#deploy-awx),
specify the new custom image.
```
spec:
image: registry.example.com/awx
image_version: test
```