An open API service indexing awesome lists of open source software.

https://github.com/mkumatag/container-image-updater-action


https://github.com/mkumatag/container-image-updater-action

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# container-image-updater
This action prints "true" if image is required to update based on the base image update.

## Inputs

| Name | Type | Description |
|---------------------|----------|------------------------------------|
| `base-image` | Required | Base image of the image |
| `image` | Required | The container image to be monitored, based on `base-image` |
| `base-reg-username`,
`base-reg-password` | Optional | Image registry credential to access base image.|
| `image-reg-username`,
`image-reg-password` | Optional | Image registry credential to access image to be monitored.|

## Outputs

| Name | Description |
|---------------------|------------------------------------|
| `needs-update` | Returns `true` or `false`. |

## Example usage

### Public images

```yaml
uses: mkumatag/container-image-updater-action@v1.0.6
with:
base-image: 'alpine:3.14'
image: 'alpine:3.13'
```

### Private images

```yaml
uses: mkumatag/container-image-updater-action@v1.0.6
with:
base-image: 'alpine:3.14'
image: 'alpine:3.13'
base-reg-username: someuser
base-reg-password: somepassword
image-reg-username: someuser
image-reg-password: somepassword
```

## Blog:
https://medium.com/@manjunathkumatagi/streamlining-docker-image-updates-monitoring-and-rebuilding-with-github-plugin-c244dc85fb6a