1. Resources
  2. /
  3. Examples
  4. /
  5. Packages Registries OIDC Publish
pipeline.yml
steps: - key: "clean" label: ":broom: Clean" command: ".buildkite/clean.sh" - key: "build" label: ":hammer_and_wrench: Build" command: "dpkg-deb --build hello-buildkite-1.0" artifact_paths: "*.deb" depends_on: "clean" - label: ":debian: Publish" depends_on: "build" plugins: - publish-to-packages#v2.1.0: artifacts: "*.deb" registry: "buildkite/oidc-example"

Buildkite Packages Publish Using OIDC Example

This repository is an example Buildkite pipeline for publishing packages using short term OIDC tokens for authentication. It builds a Debian package and publishes it to this Buildkite Packages Registry.

See the full Getting Started Guide for step-by-step instructions on how to get this running.

How it works

This example:

  • Removes existing packages from the registry to avoid naming conflicts.
  • Builds a simple Debian package called “Hello Buildkite”.
  • Pushes the package using the publish-to-packages plugin. This plugin uses OIDC tokens for authentication.

License

See LICENSE.md (MIT)

More examples

Start turning complexity into an advantage

Create an account to get started for free.

Buildkite Pipelines

Platform

  1. Pipelines
  2. Public pipelines
  3. Test Engine
  4. Package Registries
  5. Mobile Delivery Cloud
  6. Pricing

Hosting options

  1. Self-hosted agents
  2. Mac hosted agents
  3. Linux hosted agents

Resources

  1. Docs
  2. Blog
  3. Changelog
  4. Example pipelines
  5. Plugins
  6. Webinars
  7. Case studies
  8. Events
  9. Migration Services
  10. CI/CD perspectives

Company

  1. About
  2. Careers
  3. Press
  4. Security
  5. Brand assets
  6. Contact

Solutions

  1. Replace Jenkins
  2. Workflows for MLOps
  3. Testing at scale
  4. Monorepo mojo
  5. Bazel orchestration

Legal

  1. Terms of Service
  2. Acceptable Use Policy
  3. Privacy Policy
  4. Subprocessors
  5. Service Level Agreement
  6. Supplier Code of Conduct
  7. Modern Slavery Statement

Support

  1. System status
  2. Forum
© Buildkite Pty Ltd 2026