File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build and push artifacts
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ permissions :
9+ contents : write
10+ pull-requests : write
11+
12+ jobs :
13+ Artifactory_Login :
14+ uses : MapColonies/shared-workflows/actions/artifactory-login@artifactory-login-v1.0.0
15+ with :
16+ registry : ACR_URL
17+ username : ACR_PUSH_USER
18+ password : ACR_PUSH_TOKEN
19+
20+ Build_Docker_Image :
21+ uses : MapColonies/shared-workflows/actions/build-docker@build-docker-v1.1.0
22+ with :
23+ # for example
24+ # domain: infra
25+ domain : YOUR-DOMAIN
26+ registry : ACR_URL
27+
28+ Push_Docker_Image :
29+ uses : MapColonies/shared-workflows/actions/push-docker@push-docker-v1.0.1
30+ with :
31+ # for example
32+ # image_name: scaler
33+ # image_tag: v1.0.0
34+ image_name : DOCKER_IMAGE_NAME
35+ image_tag : DOCKER_IMAGE_TAG
36+
37+
38+ Build_and_Push_Helm_Chart :
39+ uses : MapColonies/shared-workflows/actions/build-and-push-helm@build-and-push-helm-v1.0.1
40+ with :
41+ # for example
42+ # context: ./infra/monitoring
43+ # domain: infra
44+ context : YOUR-PATH
45+ domain : YOUR-DOMAIN
46+ registry : ACR_URL
47+
48+ update_artifacts_file :
49+ uses : MapColonies/shared-workflows/actions/update-artifacts-file@update-artifacts-file-v1.1.1
50+ with :
51+ # Example:
52+ # domain: infra
53+ # artifact_name: sftpgo
54+ # artifact_tag: v1.2.3
55+ # type: docker
56+ domain : YOUR-DOMAIN
57+ artifact_name : ARTIFACT_NAME
58+ artifact_tag : ARTIFACT_TAG
59+ type : ARTIFACT_TYPE
60+ registry : ACR_URL
61+ github_token : YOUR_GITHUB_TOKEN
You can’t perform that action at this time.
0 commit comments