forked from ams0/acr-task-github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from FrodeHus/feature/build-args
Feature/build args
- Loading branch information
Showing
3 changed files
with
88 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,46 @@ | ||
name: 'Azure Container Registry Build' | ||
author: 'Alessandro Vozza' | ||
name: "Azure Container Registry Build" | ||
author: "Alessandro Vozza" | ||
branding: | ||
icon: 'code' | ||
color: 'blue' | ||
description: 'Use ACR to build a container image' | ||
icon: "code" | ||
color: "blue" | ||
description: "Use ACR to build a container image" | ||
inputs: | ||
service_principal: | ||
description: 'Service Principal with Contributor role on the ACR' | ||
description: "Service Principal with Contributor role on the ACR" | ||
required: true | ||
service_principal_password: | ||
description: 'Service Principal password' | ||
description: "Service Principal password" | ||
required: true | ||
tenant: | ||
description: 'Azure Container Registry tenant' | ||
description: "Azure Container Registry tenant" | ||
required: true | ||
registry: | ||
description: 'The name of the ACR, minus the .azurecr.io' | ||
description: "The name of the ACR, minus the .azurecr.io" | ||
required: true | ||
repository: | ||
description: 'Repository to use' | ||
description: "Repository to use" | ||
required: true | ||
git_access_token: | ||
description: 'Github access token for private repositories' | ||
required: true | ||
image: | ||
description: 'Docker image name' | ||
description: "Docker image name" | ||
required: false | ||
tag: | ||
description: 'Docker image tag, default to the commit SHA' | ||
description: "Docker image tag, default to the commit SHA" | ||
required: false | ||
branch: | ||
description: 'Branch to build from, defaults to master' | ||
description: "Branch to build from, defaults to master" | ||
required: false | ||
folder: | ||
description: 'The folder in the Github repo that holds the source' | ||
description: "The folder in the Github repo that holds the source" | ||
required: true | ||
dockerfile: | ||
description: 'The location of the Dockerfile; defaults to ./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' | ||
using: "docker" | ||
image: "Dockerfile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters