mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
fix some minor issues
This commit is contained in:
parent
1b82da1ab7
commit
6157c50e4f
2 changed files with 3 additions and 3 deletions
|
@ -93,7 +93,7 @@ jobs:
|
||||||
./goreleaser -v
|
./goreleaser -v
|
||||||
- run:
|
- run:
|
||||||
name: Execute goreleaser
|
name: Execute goreleaser
|
||||||
command: ../goreleaser --snapshot --skip-publish --debug
|
command: CGO_ENABLED=${CGO_ENABLED:-0} ../goreleaser --snapshot --skip-publish --debug
|
||||||
publishing:
|
publishing:
|
||||||
executor: go
|
executor: go
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -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
|
var opts types.ImagePullOptions // ImagePullOptions can take a RegistryAuth arg to authenticate against a private registry
|
||||||
auth, err := EncodedAuth(imageName)
|
auth, err := EncodedAuth(imageName)
|
||||||
log.Infof("Got auth value: %s", auth)
|
log.Debugf("Got auth value: %s", auth)
|
||||||
log.Infof("Got image name: %s", imageName)
|
log.Debugf("Got image name: %s", imageName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Debugf("Error loading authentication credentials %s", err)
|
log.Debugf("Error loading authentication credentials %s", err)
|
||||||
return false, err
|
return false, err
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue