Bake Azure Images in an Armory CD or Spinnaker Pipeline

Create an Armory Continuous Deployment or Spinnaker pipeline that bakes an Azure image.

Before you begin

Configure your bake using an Azure managed image

  1. Add a Bake stage in your pipeline.

  2. In the Bake Configuration section:

    1. Select your account from the Account list.

    2. Select a region in the Regions list.

    3. Select Managed Images.

    4. Select an image from the Managed Image list, which contains the images from your Azure account.

      Select a managed image.

    5. Select a value in the Package Type field.

      • If you are using a Linux image, you need to select the distro:

        • DEB: For example, Debian and Ubuntu
        • RPM: For example, CentOS and Fedora
      • A Windows image automatically use the chocolatey package manager.

    6. In the Packages field, add any packages you want to install in the image. This is a space-delimited list.

    7. Select a value in the Base Label list.

    8. Add a name to the Base Name field.

      Managed image bake configuration.

  3. Save and execute your pipeline.

Configure your bake using Azure image attributes

You can configure your bake configuration using an image’s Publisher, Offer, and SKU, which you can find using the Azure CLI or Azure PowerShell.

  1. Add a Bake stage in your pipeline.

  2. In the Bake Configuration section:

    1. Select your account from the Account list.

    2. Select a region in the Regions list.

    3. Select Custom Image.

    4. Enter the image’s Publisher in the Publisher field.

    5. Enter the image’s Offer in the Offer field.

    6. Enter the image’s SKU in the SKU field.

    7. Select a value in the OS Type list.

    8. Select a value in the Package Type field.

      • If you are using a Linux image, you need to select the distro:

        • DEB: For example, Debian and Ubuntu
        • RPM: For example, CentOS and Fedora
      • A Windows image automatically use the chocolatey package manager.

    9. In the Packages field, add any packages you want to install in the image. This is a space-delimited list.

    10. Select a value in the Base Label list.

    11. Add a name to the Base Name field.

      Custom image bake configuration.

  3. Save and execute your pipeline.


Last modified August 9, 2023: (836f2dc4)