mod-outdated target to check for outdated dependencies

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2022-04-22 16:24:46 +02:00
parent ffa3019c1f
commit c052659543
3 changed files with 24 additions and 1 deletions

View File

@@ -35,6 +35,17 @@ target "update-vendor" {
output = ["."]
}
target "mod-outdated" {
dockerfile = "./dockerfiles/vendor.Dockerfile"
target = "outdated"
args = {
// used to invalidate cache for outdated run stage
// can be dropped when https://github.com/moby/buildkit/issues/1213 fixed
_RANDOM = uuidv4()
}
output = ["type=cacheonly"]
}
target "binary" {
inherits = ["_common"]
target = "binary"