1
0
mirror of https://github.com/containrrr/watchtower.git synced 2025-02-07 19:30:19 +02:00

fix some minor issues

This commit is contained in:
Simon Aronsson 2019-04-06 14:05:01 +02:00
parent 1b82da1ab7
commit 6157c50e4f
2 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@ jobs:
./goreleaser -v
- run:
name: Execute goreleaser
command: ../goreleaser --snapshot --skip-publish --debug
command: CGO_ENABLED=${CGO_ENABLED:-0} ../goreleaser --snapshot --skip-publish --debug
publishing:
executor: go
steps:

View File

@ -187,8 +187,8 @@ func (client dockerClient) IsContainerStale(c Container) (bool, error) {
var opts types.ImagePullOptions // ImagePullOptions can take a RegistryAuth arg to authenticate against a private registry
auth, err := EncodedAuth(imageName)
log.Infof("Got auth value: %s", auth)
log.Infof("Got image name: %s", imageName)
log.Debugf("Got auth value: %s", auth)
log.Debugf("Got image name: %s", imageName)
if err != nil {
log.Debugf("Error loading authentication credentials %s", err)
return false, err