azure-artifacts-manager

ntaksh42's avatarfrom ntaksh42

Manage Azure Artifacts including package feeds, versions, and dependencies. Use when publishing or managing artifact packages.

⭐0stars🔀1forks📁View on GitHub🕐Updated Dec 20, 2025

When & Why to Use This Skill

The Azure Artifacts Manager skill empowers developers and DevOps teams to efficiently manage the lifecycle of software packages within the Azure DevOps ecosystem. It provides comprehensive capabilities for creating and configuring feeds for npm, NuGet, Maven, and Python, while streamlining package publishing, versioning, and access control to ensure a robust and secure CI/CD pipeline.

Use Cases

  • Automated Feed Creation: Rapidly set up private or organizational feeds for various package types (npm, NuGet, Maven, Python) to host internal libraries securely.
  • CI/CD Pipeline Integration: Seamlessly integrate package publishing tasks into Azure Pipelines to automate the delivery of build artifacts.
  • Dependency & Version Management: Maintain strict control over package versions and dependencies to ensure consistent and reproducible builds across different environments.
  • Universal Package Handling: Manage and publish large files or cross-platform binaries using Universal Packages for simplified artifact storage.
nameazure-artifacts-manager
descriptionManage Azure Artifacts including package feeds, versions, and dependencies. Use when publishing or managing artifact packages.

Azure Artifacts Manager Skill

Azure Artifactsでパッケージを管理するスキルです。

主な機能

  • Feedの作成: npm、NuGet、Maven、Python
  • パッケージ公開: ビルド成果物の公開
  • パッケージ管理: バージョン管理
  • アクセス制御: 権限設定

Feed作成

# npm Feed作成
az artifacts feed create \
  --name "my-npm-feed" \
  --feed-type npm

# NuGet Feed
az artifacts feed create \
  --name "my-nuget-feed" \
  --feed-type nuget

# Universal Packages
az artifacts feed create \
  --name "my-universal-feed" \
  --feed-type universal

パッケージ公開

npm

steps:
  - task: Npm@1
    inputs:
      command: 'publish'
      publishRegistry: 'useFeed'
      publishFeed: 'my-npm-feed'

NuGet

steps:
  - task: NuGetCommand@2
    inputs:
      command: 'push'
      packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg'
      nuGetFeedType: 'internal'
      publishVstsFeed: 'my-nuget-feed'

Universal Packages

az artifacts universal publish \
  --organization https://dev.azure.com/myorg \
  --feed my-universal-feed \
  --name my-package \
  --version 1.0.0 \
  --path ./dist

.npmrc設定

registry=https://pkgs.dev.azure.com/myorg/_packaging/my-npm-feed/npm/registry/
always-auth=true

バージョン情報

  • Version: 1.0.0