Skip to content

mkumatag/container-image-updater-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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

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

Private images

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