proxy

command module
v0.0.0-...-b98f6d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2026 License: MIT Imports: 32 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Dependabot Proxy

The Dependabot Proxy is an HTTP and HTTPS proxy that adds authentication to requests to the GitHub API and to private package registries. It is used by the dependabot-core to handle authentication for various package managers and Git servers.

Requirements

To build and run the proxy, you need to have the following installed:

Image provenance

The main publish workflow builds ghcr.io/dependabot/proxy for linux/amd64. The build pushes a v2.0.YYYYMMDDHHMMSS image tag and updates latest. The workflow then publishes signed build provenance for the image digest to GitHub and GHCR. After attestation succeeds, it creates the matching Git tag at the source commit. If attestation fails, the image tags remain published and the workflow fails.

To verify an image, replace the placeholders with its digest and the expected source commit:

IMAGE_DIGEST='sha256:<digest>'
SOURCE_SHA='<commit>'

gh attestation verify "oci://ghcr.io/dependabot/proxy@${IMAGE_DIGEST}" \
  --repo dependabot/proxy \
  --signer-workflow dependabot/proxy/.github/workflows/ghcr.yml \
  --source-ref refs/heads/main \
  --source-digest "${SOURCE_SHA}"

The publication summary includes the digest, source commit and attestation link. Add --bundle-from-oci to retrieve the attestation from GHCR instead of the GitHub API.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
apiclient
Package apiclient provides a client for Dependabot update job API
Package apiclient provides a client for Dependabot update job API
gitproto
Package gitproto provides helpers for stabilizing git smart-HTTP cache keys.
Package gitproto provides helpers for stabilizing git smart-HTTP cache keys.
version
Package version provides injected build metadata
Package version provides injected build metadata

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址