pipeline

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

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

Go to latest
Published: Jul 6, 2022 License: MIT Imports: 8 Imported by: 0

README


page_type: sample languages:

  • golang products:
  • azure description: "These code samples will show you how to manage Container Registry using Azure SDK for Golang." urlFragment: containerregistry

Getting started - Managing Container Registry using Azure Golang SDK

These code samples will show you how to manage Container Registry using Azure SDK for Golang.

Features

This project framework provides examples for the following services:

Container Registry
Prerequisites
Quickstart
  1. Clone the repository.

    git clone https://github.com/Azure-Samples/azure-sdk-for-go-samples.git
    
  2. Set the environment variable.

    # bash
    export AZURE_SUBSCRIPTION_ID=<your Azure subscription id> 
    # If no value is set, the created resource will be deleted by default.
    # anything other than empty to keep the resources
    export KEEP_RESOURCE=1 
    export AZURE_TENANT_ID=<your Azure Tenant id>          
    export AZURE_OBJECT_ID=<your Azure Client/Object id> 
    
  3. Run comtainerregistry sample.

    cd azure-sdk-for-go-samples/sdk/resourcemanager/comtainerregistry/pipeline
    go mod tidy
    go run main.go
    

Resources

Need help?

Post issue on Github (https://github.com/Azure/azure-sdk-for-go/issues)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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