---
title: Charmhub | Deploy Github runner image builder using Charmhub - The Open Operator
  Collection
description: Deploy the latest version of Github runner image builder on any cloud.
url: https://charmhub.io/github-runner-image-builder/docs/how-to-configure-revision-history
---

# Github runner image builder

[Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

* [Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

Platform:

22.04

stable 155

```
juju deploy github-runner-image-builder
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

---

#### Relevant links

* [Homepage](https://charmhub.io/github-runner-image-builder)

---

#### Contacts

##### Maintainers

+ [https://github.com/orgs/canonical/teams/is-charms](mailto:https://github.com/orgs/canonical/teams/is-charms)

* [Submit a bug](https://github.com/canonical/github-runner-image-builder-operator/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

# How to configure `revision-history-limit`

You can limit how many revisions of the images are kept in OpenStack Glance by specifying the
`revision-history-limit` configuration option. By default, the five most recent images are kept.

```
REVISION_HISTORY_LIMIT=2
OPENSTACK_AUTH_URL=<openstack-auth-url, e.g. http://my-openstack-deployment/openstack-keystone>
OPENSTACK_PASSWORD=<openstack project password>
OPENSTACK_PROJECT_DOMAIN_NAME=<openstack project domain name>
OPENSTACK_PROJECT_NAME=<openstack project name>
OPENSTACK_USER_DOMAIN_NAME=<openstack user domain name>
OPENSTACK_USERNAME=<openstack username>

juju deploy github-runner-image-builder \
--config revision-history-limit=$REVISION_HISTORY_LIMIT
--config openstack-auth-url=$OPENSTACK_AUTH_URL \
--config openstack-password=$OPENSTACK_PASSWORD \
--config openstack-project-domain-name=$OPENSTACK_PROJECT_DOMAIN_NAME \
--config openstack-project-name=$OPENSTACK_PROJECT_NAME \
--config openstack-user-domain-name=$OPENSTACK_USER_DOMAIN_NAME \
--config openstack-user-name=$OPENSTACK_USERNAME
```

The example above would keep the two most recent revisions of the image before deletion.

---
