Skip to content
This repository was archived by the owner on Nov 10, 2019. It is now read-only.

Commit f46b285

Browse files
author
Anton Weiss
committed
Fix plugin.yaml for azure-builder plugin
1 parent a1ac921 commit f46b285

File tree

2 files changed

+45
-36
lines changed

2 files changed

+45
-36
lines changed

plugins/azure-builder/example.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 1.0
2+
cf-az-build:
3+
image: codefresh/cf-azure-builder
4+
environment:
5+
- IMAGE=<image name>
6+
- TAG=<tag name>
7+
- ACR_NAME=<acr registry name>
8+
- APP_ID=<azure service principal application id>
9+
- PASSWORD=<azure service principal password>
10+
- TENANT=<azure ad tenant id>
11+
- DOCKERFILE_PATH=<dockerfile path>

plugins/azure-builder/plugin.yaml

Lines changed: 34 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,42 @@
1+
title: azure-builder
12
image: codefresh/cf-azure-builder
2-
tag: latest
3+
category:
4+
- Build
35
version: 0.1.0
46
description: Docker build in Azure ACR
57
keywords:
68
- docker
79
- azure
8-
home: https://github.com/codefresh-io/azure-build-plugin
9-
sources:
10-
- https://github.com/codefresh-io/azure-build-plugin
11-
maintainers: # (optional)
10+
source: https://github.com/codefresh-io/azure-build-plugin
11+
maintainers:
1212
- name: Amir Gabay
1313
email: amir.gabay@codefresh.io
14-
icon: https://cdn-images-1.medium.com/max/1600/1*c9mvlJQ0o-zQbHM3SL8zkg.png
15-
envs:
16-
- name: AUTH
17-
type: optional
18-
description: Only if authentication mode is by service principal
19-
- name: USER
20-
type: required
21-
description: azure user name (not need in service principal authentication mode)
22-
- name: IMAGE
23-
type: required
24-
description: image name
25-
- name: TAG
26-
type: required
27-
description: tag name
28-
- name: ACR_NAME
29-
type: required
30-
description: acr registry name
31-
- name: APP_ID
32-
type: required
33-
description: azure service principal application id (service principal authentication mode only)
34-
- name: PASSWORD
35-
type: required
36-
description: azure service principal password or user password (based on authentication mode)
37-
- name: TENANT
38-
type: required
39-
description: azure ad tenant id (service principal authentication mode only)
40-
- name: DOCKERFILE_PATH
41-
type: required
42-
description: dockerfile path (default - working_dir/Dockerfile)
43-
44-
14+
logo: https://cdn-images-1.medium.com/max/1600/1*c9mvlJQ0o-zQbHM3SL8zkg.png
15+
envs:
16+
- name: AUTH
17+
type: optional
18+
description: Only if authentication mode is by service principal
19+
- name: USER
20+
type: required
21+
description: azure user name (not need in service principal authentication mode)
22+
- name: IMAGE
23+
type: required
24+
description: image name
25+
- name: TAG
26+
type: required
27+
description: tag name
28+
- name: ACR_NAME
29+
type: required
30+
description: acr registry name
31+
- name: APP_ID
32+
type: required
33+
description: azure service principal application id (service principal authentication mode only)
34+
- name: PASSWORD
35+
type: required
36+
description: azure service principal password or user password (based on authentication mode)
37+
- name: TENANT
38+
type: required
39+
description: azure ad tenant id (service principal authentication mode only)
40+
- name: DOCKERFILE_PATH
41+
type: required
42+
description: dockerfile path (default - working_dir/Dockerfile)

0 commit comments

Comments
 (0)