vista 487758180d
All checks were successful
ci/woodpecker/push/build-dev Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
Update .woodpecker/build-dev.yml
2023-08-15 13:21:50 +02:00
2023-03-23 22:31:10 +01:00
2023-03-23 20:46:27 +01:00
2023-03-11 20:00:12 +01:00
2023-03-23 22:38:44 +01:00

container-update-checker

status-badge

check if a container needs rebuilding

Environment variables

Name Comment
BASE the image the Dockerfile is based on
TARGET the image thats based of BASE
REGISTRY_USERNAME the username for logging in into the registry
this is only requered of private repos
REGISTRY_PASSWORD the password for logging in into the registry
(you probaly want to use a token here)
REGISTRY_API the type of registry valid options are docker and gitea
Default: docker
REGISTRY_URL the url to the registry
Default: https://hub.docker.com
BASE_REGISTRY_USERNAME if left empty REGISTRY_USERNAME is used
BASE_REGISTRY_PASSWORD if left empty REGISTRY_PASSWORD is used
BASE_REGISTRY_API if left empty REGISTRY_API is used
BASE_REGISTRY_URL if left empty REGISTRY_URL is used
TARGET_REGISTRY_USERNAME if left empty REGISTRY_USERNAME is used
TARGET_REGISTRY_PASSWORD if left empty REGISTRY_PASSWORD is used
TARGET_REGISTRY_API if left empty REGISTRY_API is used
TARGET_REGISTRY_URL if left empty REGISTRY_URL is used

Exit codes

State Exit code Comment
BASE is more recent than TARGET 0 An update is needed
TARGET is more recent than BASE 1 No update is needed
(the pipeline wil "fail" but that is wat we want )
An error occured 0 So the pipeline can continue
Description
check if a container needs rebuilding
Readme 120 KiB
V1.1 Latest
2023-03-23 22:43:22 +01:00
Languages
Shell 97%
Dockerfile 3%