chore(ci): fix default branch in Dockerfiles (#875)

This commit is contained in:
nils måsén 2021-04-01 19:18:36 +02:00 committed by GitHub
parent da56c215db
commit a5ffb653df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View file

@ -1,5 +1,5 @@
#!/bin/bash
VERSION=$(git describe)
VERSION=$(git describe --tags)
echo "Building $VERSION..."
go build -o watchtower -ldflags "-X github.com/containrrr/watchtower/cmd.version=$VERSION"
go build -o watchtower -ldflags "-X github.com/containrrr/watchtower/cmd.version=$VERSION"