acr/samples/java/task
Bin Du d6e994c0c7
Update Java ACR Tasks samples (#141)
* Switch to v2018_09_01 API
* Change build to task/run
* Add multi-step task run
2018-10-09 20:58:24 +00:00
..
.vscode Update Java ACR Tasks samples (#141) 2018-10-09 20:58:24 +00:00
src/main/java/com/microsoft/azure/management/containerregistry/samples Update Java ACR Tasks samples (#141) 2018-10-09 20:58:24 +00:00
.factorypath Update Java ACR Tasks samples (#141) 2018-10-09 20:58:24 +00:00
.gitignore Update Java ACR Tasks samples (#141) 2018-10-09 20:58:24 +00:00
Dockerfile Update Java ACR Tasks samples (#141) 2018-10-09 20:58:24 +00:00
README.md Update Java ACR Tasks samples (#141) 2018-10-09 20:58:24 +00:00
acb.yaml Update Java ACR Tasks samples (#141) 2018-10-09 20:58:24 +00:00
pom.xml Update Java ACR Tasks samples (#141) 2018-10-09 20:58:24 +00:00

README.md

Getting Started with Container Registry - Manage Container Registry Task - in Java

  • Create an Azure Container Registry.
  • Schedule a new run to build a container image and push it to the registry.
  • Wait for the run completion and download the run log.
  • Create a task and queue a new run using the task.
  • Schedule a new multi-step task run.
  • List runs in the registry.

Running this Sample

To run this sample:

Set the environment variable AZURE_AUTH_LOCATION with the full path for an auth file. See how to create an auth file.

mvn clean compile exec:java

More information

http://azure.com/java

If you don't have a Microsoft Azure subscription you can get a FREE trial account here.