Skip to content

chore: pin docker login action#240

Merged
mrproliu merged 1 commit intomainfrom
kezhenxu94-patch-1
Mar 31, 2026
Merged

chore: pin docker login action#240
mrproliu merged 1 commit intomainfrom
kezhenxu94-patch-1

Conversation

@kezhenxu94
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings March 31, 2026 07:24
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins the docker/login-action GitHub Action used in the Docker publishing workflow to a specific commit SHA, improving supply-chain security and build reproducibility for the repository’s container publishing pipeline.

Changes:

  • Replace docker/login-action@v3 with a full commit SHA reference in the publish workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mrproliu mrproliu merged commit 16c03fe into main Mar 31, 2026
23 checks passed
tetrate-ci added a commit to tetrate-ci/skywalking-satellite that referenced this pull request Apr 16, 2026
* Bump the actions-deps group across 1 directory with 2 updates (apache#234)

Bumps the actions-deps group with 2 updates in the / directory: [golang.org/x/mod](https://github.com/golang/mod) and [golang.org/x/text](https://github.com/golang/text).


Updates `golang.org/x/mod` from 0.32.0 to 0.34.0
- [Commits](golang/mod@v0.32.0...v0.34.0)

Updates `golang.org/x/text` from 0.33.0 to 0.35.0
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.33.0...v0.35.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-version: 0.34.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-deps
- dependency-name: golang.org/x/text
  dependency-version: 0.35.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* cves: upgrade base image to alpine:3.23 to fix CVE-2026-27171 (zlib) (apache#237)

Alpine 3.23 includes zlib 1.3.2-r0 which fixes CVE-2026-27171 (HIGH).
Also upgrades busybox to 1.37.0-r30.

Verified clean with trivy scan (0 vulnerabilities in alpine and gobinary layers).

Co-authored-by: CVE Bot <cve-bot@tetrate.io>

* ci: upgrade docker/login-action to v3 to fix workflow startup_failure (apache#238)

The publish-docker workflow was failing with startup_failure because
docker/login-action@v1.10.0 relies on deprecated Node.js 16 which
GitHub Actions has removed. Upgrade to v3 to restore image publishing.

Co-authored-by: Tetrate CVE Bot <cve-bot@tetrate.io>

* chore: pin docker login action (apache#240)

* cves: bump alpine packages to fix busybox and zlib CVEs (apache#242)

Run apk update and apk upgrade explicitly before apk add to ensure
the latest Alpine packages are installed, fixing:
- CVE-2025-60876: busybox 1.37.0-r14 → 1.37.0-r30
- CVE-2026-27171: zlib 1.3.1-r2 → 1.3.2-r0

Co-authored-by: CVE Fix Bot <cve-fix@example.com>

* Bump the actions-deps group across 1 directory with 3 updates (apache#243)

* cves: bump prometheus to v0.311.2, adapt kubernetes discovery API

- Bump github.com/prometheus/prometheus from v0.43.0 to v0.311.2
- Update Dockerfile to golang:1.26.2 to match go.mod toolchain requirement
- Adapt kubernetes_kinds.go to use new prometheus kubernetes.New() API
  which now requires (*slog.Logger, DiscovererMetrics, *SDConfig) args
  (replaced with discovery.DiscovererOptions pattern)

Fixes CVEs addressed in prometheus v0.311.2 upgrade.

* ci: update Go version from 1.25 to 1.26 for compatibility with Go 1.26.2 toolchain

golangci-lint fails to analyze code when the toolchain in go.mod (1.26.2)
is newer than the Go version used to build golangci-lint (1.25). Update
the CI workflow to use Go 1.26 to match the toolchain directive.

* ci: upgrade golangci-lint to v2.11.4 for Go 1.26 compatibility

golangci-lint v2.4.0 was built with go1.25.0 and cannot lint projects
targeting go1.26.2 (required by prometheus v0.311.2 dependencies).
Upgrade to v2.11.4 which supports go1.26.x.

* fix: fix gofmt in kubernetes_kinds.go, add golangci exclusions for pre-existing issues

- Remove trailing blank line in kubernetes_kinds.go (gofmt)
- Add exclusion for gosec G117 in kubernetes_config.go (pre-existing: BearerToken
  marshaling is by design for prometheus config conversion)
- Add exclusion for staticcheck SA1019 in generate_plugin_doc.go (pre-existing:
  parser.ParseDir deprecated in Go 1.25, refactoring outside CVE scope)

* fix: upgrade go-openapi/swag sub-modules to v0.25.5 to fix go mod tidy

go-openapi/swag/loading v0.25.4 has a test dependency on
github.com/go-openapi/testify/v2/assert/yaml which does not exist
in the released go-openapi/testify/v2 module. Upgrading to v0.25.5
fixes the go mod tidy failure in make check.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: CVE Bot <cve-bot@tetrate.io>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
Co-authored-by: CVE Fix Bot <cve-fix@example.com>
Co-authored-by: Tetrate Security Agent <security-agent@tetrate.io>
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