Update readme
This commit is contained in:
16
README.md
16
README.md
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user