mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-22 05:40:50 +02:00
feat: include additional info in startup (#809)
This commit is contained in:
parent
5e17ef6014
commit
9fa2fd82a6
7 changed files with 185 additions and 55 deletions
5
build.sh
Normal file
5
build.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=$(git describe)
|
||||
echo "Building $VERSION..."
|
||||
go build -o watchtower -ldflags "-X github.com/containrrr/watchtower/cmd.version=$VERSION"
|
Loading…
Add table
Add a link
Reference in a new issue