forked from Azure/acr-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
46 lines (46 loc) · 1.3 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: "Azure Container Registry Build"
author: "Alessandro Vozza"
branding:
icon: "code"
color: "blue"
description: "Use ACR to build a container image"
inputs:
service_principal:
description: "Service Principal with Contributor role on the ACR"
required: true
service_principal_password:
description: "Service Principal password"
required: true
tenant:
description: "Azure Container Registry tenant"
required: true
registry:
description: "The name of the ACR, minus the .azurecr.io"
required: true
repository:
description: "Repository to use"
required: true
git_access_token:
description: 'Github access token for private repositories'
required: true
image:
description: "Docker image name"
required: false
tag:
description: "Docker image tag, default to the commit SHA"
required: false
branch:
description: "Branch to build from, defaults to master"
required: false
folder:
description: "The folder in the Github repo that holds the source"
required: true
dockerfile:
description: "The location of the Dockerfile; defaults to ./Dockerfile"
required: false
build_args:
description: "JSON specifying key=value pairs as as Docker build arguments"
required: false
runs:
using: "docker"
image: "Dockerfile"