Update readme

This commit is contained in:
2020-11-11 01:48:20 +01:00
parent 27993e9fa0
commit c01d192e08
2 changed files with 13 additions and 4 deletions

View File

@ -1,15 +1,25 @@
# lookbuilding # lookbuilding
_WIP_
Scuffed lookalike of watchtower Scuffed lookalike of watchtower
This project will, when triggered by an http request, This project will, when triggered by an http request, scan the
scan and update all properly annotated containers. docker registry and update all properly annotated containers.
Add one of the following labels to your container to have lookbuilding update it. Add one of the following labels to your container to have lookbuilding update it.
``` ```sh
# only update to newer images with the same tag
lookbuilding.mode = same_tag lookbuilding.mode = same_tag
# only update to images with a newer semver version tag
lookbuilding.mode = semver_major lookbuilding.mode = semver_major
# only update to images with a newer semver version tag
# but with the same major version
lookbuilding.mode = semver_minor lookbuilding.mode = semver_minor
# only update to images with a newer semver version tag
# but with the same major & minor version
lookbuilding.mode = semver_patch lookbuilding.mode = semver_patch
``` ```

View File

@ -1,7 +1,6 @@
package versioning package versioning
import ( import (
"fmt"
"sort" "sort"
l "hulthe.net/lookbuilding/internal/pkg/logging" l "hulthe.net/lookbuilding/internal/pkg/logging"