Sign inSign up

vistanarvas/container-update-checker

By vistanarvas

•Updated about 2 years ago

Image
0

450

vistanarvas/container-update-checker repository overview

⁠container-update-checker

status-badge

check if a container needs rebuilding

Source code avalable here⁠

⁠Environment variables

NameComment
BASEthe image the Dockerfile is based on
TARGETthe image thats based of BASE
REGISTRY_USERNAMEthe username for logging in into the registry
this is only requered of private repos
REGISTRY_PASSWORDthe password for logging in into the registry
(you probaly want to use a token here)
REGISTRY_APIthe type of registry valid options are docker and gitea
Default: docker
REGISTRY_URLthe url to the registry
Default: https://hub.docker.com
BASE_REGISTRY_USERNAMEif left empty REGISTRY_USERNAME is used
BASE_REGISTRY_PASSWORDif left empty REGISTRY_PASSWORD is used
BASE_REGISTRY_APIif left empty REGISTRY_API is used
BASE_REGISTRY_URLif left empty REGISTRY_URL is used
TARGET_REGISTRY_USERNAMEif left empty REGISTRY_USERNAME is used
TARGET_REGISTRY_PASSWORDif left empty REGISTRY_PASSWORD is used
TARGET_REGISTRY_APIif left empty REGISTRY_API is used
TARGET_REGISTRY_URLif left empty REGISTRY_URL is used

⁠Exit codes

StateExit codeComment
BASE is more recent than TARGET0An update is needed
TARGET is more recent than BASE1No update is needed
(the pipeline wil "fail" but that is wat we want )
An error occured0So the pipeline can continue

Tag summary

Content type

Image

Digest

sha256:09e064303…

Size

6.9 MB

Last updated

about 2 years ago

docker pull vistanarvas/container-update-checker