Skip to content

Files

Latest commit

 

History

History
69 lines (42 loc) · 1.54 KB

README.md

File metadata and controls

69 lines (42 loc) · 1.54 KB

Push a Helidon container image to Azure Container Registry

acr/helidon/README.md

Prerequisites

This example assumes you have previously completed the following examples:

  1. Create an Azure Resource Group
  2. Create an Azure Container Registry

Build the example

To build the JAR file use the following Maven command line:

  mvn package

Build and push the container image to your Azure Container Registry

To build and push the container image to your ACR use the command lines below:

  export ACR_HELIDON_IMAGE=helidon:latest

  az acr build --registry $ACR_NAME --resource-group $RESOURCE_GROUP --image $ACR_HELIDON_IMAGE .

Cleanup

Do NOT forget to remove the resources you created once you are done running the example.

4m