github nicholas-fedor/watchtower v1.11.6

latest release: v1.11.7
one month ago

Overview

This release restores proxy support, redirect handling, and DialContext in the registry authentication client, addressing a regression from a prior refactor. It also includes dependency updates for improved stability and compatibility.

Changes

Fixes

  • Restored Proxy: http.ProxyFromEnvironment in NewAuthClient to support proxy environment variables (e.g., HTTP_PROXY, HTTPS_PROXY), fixing regression from commit f8c2344 (#403)
  • Reintroduced DialContext with net.Dialer using 30s timeouts (DefaultDialTimeoutSeconds, DefaultDialKeepAliveSeconds) in NewAuthClient (#403)
  • Added CheckRedirect with DefaultMaxRedirects (3) in NewAuthClient to enforce redirect limits (#403)

Improvements

  • Documented proxy support via environment variables in docs/arguments.md (#403)
  • Added missing environment variables to docs/arguments.md (#393)

Dependency Updates

  • Updated github.com/docker/cli and github.com/docker/docker to v28.3.2+incompatible (#370, #371, #379, #383)
  • Updated golang.org/x/text to v0.27.0 (#384)
  • Updated github.com/spf13/pflag to v1.0.7 (#407)
  • Updated alpine to v3.22.1 and related Docker images: golang:alpine, nginx, nginx:alpine, cimg/go:1.24.5 (#377, #378, #380, #382, #394, #395, #397, #398, #399, #400, #404, #405)
  • Updated CI actions: actions/setup-python, actions/setup-go, goreleaser/goreleaser-action, golangci/golangci-lint-action, nicholas-fedor/go-proxy-pull-action (#372, #375, #376, #381, #385, #388, #401, #406)
  • Updated prom/prometheus and nginx:1.29.0 Docker digests (#390, #391, #392)

Full Changelog

For a complete list of changes, see the v1.11.5...v1.11.6 changelog.

Don't miss a new watchtower release

NewReleases is sending notifications on new releases.