Skip to content

Fix publish-docker startup_failure and bump x/net, x/crypto, x/text - #237

Merged
wu-sheng merged 2 commits into
masterfrom
fix-publish-docker-login
Oct 17, 2026
Merged

wu-sheng merged 2 commits into
masterfrom
fix-publish-docker-login

Conversation

@wu-sheng

Copy link
Copy Markdown
Member

Two follow-ups to #236:

publish-docker startup_failure. After #236 merged, publish-docker failed at startup (run). The ASF allow-list's "Remove Expired Refs" job dropped the docker/login-action@650006c6… (v4.2.0) pin. This is the third time this pin has expired (#229, #231). The step now runs a plain docker login --password-stdin against $HUB with GITHUB_TOKEN. That is the same command the action ran, and there's no third-party pin left to expire. The workflow only runs on pushes to master, so merging this also publishes the image that #236 should have produced.

Remaining dependency advisories. govulncheck still reported advisories after #236, including five x/net HTTP/2 ones (GO-2026-6603, 6610, 6611, 6612, 6617, fixed in x/net v0.60.0) that are reachable from swctl's HTTP clients. This bumps golang.org/x/net to v0.60.0, golang.org/x/crypto to v0.57.0 and golang.org/x/text to v0.42.0. x/sync, x/sys and x/term move up with them, and go mod tidy changes the go directive from 1.26 to 1.26.0. dist/LICENSE is regenerated and CHANGES.md is updated.

After the bump, govulncheck reports only GO-2026-5932: x/crypto/openpgp is unmaintained, has no fix, and swctl doesn't import it.

Checked locally: go mod verify, build, vet, unit tests, make dependency-license and license-eye header check pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LUyq3m8dX1W9YceYrZB8yj

wu-sheng and others added 2 commits October 17, 2026 08:53
…docker login

The ASF allow-list expired the docker/login-action v4.2.0 SHA pin, so the
workflow failed at startup again after #236 merged (as before in #229 and
#231). A plain `docker login --password-stdin` step does the same thing
with no third-party pin to expire.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LUyq3m8dX1W9YceYrZB8yj
Upgrade golang.org/x/net to v0.60.0, golang.org/x/crypto to v0.57.0 and
golang.org/x/text to v0.42.0 (x/sync, x/sys and x/term follow). This
clears the advisories govulncheck still reports after #236, including
five x/net HTTP/2 ones reachable from swctl's HTTP clients. The only
remaining finding is GO-2026-5932 (x/crypto/openpgp is unmaintained, has
no fix, and is not imported).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LUyq3m8dX1W9YceYrZB8yj
@wu-sheng wu-sheng added this to the 0.15.0 milestone Oct 17, 2026
@wu-sheng
wu-sheng merged commit 96869fb into master Oct 17, 2026
7 checks passed
@wu-sheng
wu-sheng deleted the fix-publish-docker-login branch October 17, 2026 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants