File tree Expand file tree Collapse file tree 6 files changed +11
-65
lines changed Expand file tree Collapse file tree 6 files changed +11
-65
lines changed Original file line number Diff line number Diff line change 77permissions :
88 pull-requests : write
99 deployments : write
10+ id-token : write
11+ contents : read
1012
1113jobs :
1214 perform :
1315 uses : cloudposse/github-actions-workflows/.github/workflows/dockerized-app-feature-branch.yml@main
1416 with :
1517 organization : " ${{ github.event.repository.owner.login }}"
1618 repository : " ${{ github.event.repository.name }}"
17- registry : registry.hub.docker.com
1819 open : ${{ github.event.pull_request.state == 'open' }}
1920 labels : ${{ toJSON(github.event.pull_request.labels.*.name) }}
2021 ref : ${{ github.event.pull_request.head.ref }}
2122 secrets :
22- docker-login : " ${{ secrets.DOCKERHUB_USERNAME }}"
23- docker-password : " ${{ secrets.DOCKERHUB_PASSWORD }}"
2423 github-private-actions-pat : " ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}"
24+ registry : " ${{ secrets.ECR_REGISTRY }}"
25+ secret-outputs-passphrase : " ${{ secrets.GHA_SECRET_OUTPUT_PASSPHRASE }}"
Original file line number Diff line number Diff line change 1313 with :
1414 organization : " ${{ github.event.repository.owner.login }}"
1515 repository : " ${{ github.event.repository.name }}"
16- registry : registry.hub.docker.com
1716 secrets :
18- docker-login : " ${{ secrets.DOCKERHUB_USERNAME }}"
19- docker-password : " ${{ secrets.DOCKERHUB_PASSWORD }}"
2017 github-private-actions-pat : " ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}"
18+ registry : " ${{ secrets.ECR_REGISTRY }}"
19+ secret-outputs-passphrase : " ${{ secrets.GHA_SECRET_OUTPUT_PASSPHRASE }}"
Original file line number Diff line number Diff line change 1212 with :
1313 organization : " ${{ github.event.repository.owner.login }}"
1414 repository : " ${{ github.event.repository.name }}"
15- registry : registry.hub.docker.com
1615 version : ${{ github.event.release.tag_name }}
1716 secrets :
18- docker-login : " ${{ secrets.DOCKERHUB_USERNAME }}"
19- docker-password : " ${{ secrets.DOCKERHUB_PASSWORD }}"
2017 github-private-actions-pat : " ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}"
18+ registry : " ${{ secrets.ECR_REGISTRY }}"
19+ secret-outputs-passphrase : " ${{ secrets.GHA_SECRET_OUTPUT_PASSPHRASE }}"
Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ environments:
66 production :
77
88helmfiles :
9- # - "releases/pull-secret.yaml"
10- - path : " ./releases/app.yaml"
9+ - path : " releases/app.yaml"
1110 values :
1211 -
1312{{ .Values | toYaml | indent 8 }}
Original file line number Diff line number Diff line change @@ -20,23 +20,19 @@ releases:
2020# References:
2121# - https://github.com/cloudposse/charts/blob/master/incubator/monochart
2222#
23- - name : ' {{ requiredEnv "RELEASE_NAME" }} '
23+ - name : ' example-app '
2424 labels :
25- color : " {{ requiredEnv " COLOR" }}"
2625 preview : " true"
2726 chart : " cloudposse-incubator/monochart"
2827 version : " 0.22.0"
2928 wait : true
3029 force : true
3130 recreatePods : false
3231 values :
33- - fullnameOverride : " example-{{ requiredEnv " COLOR" }}"
34- image :
32+ - image :
3533 repository : ' {{ env "IMAGE_NAME" | default "cloudposse/example-app" }}'
3634 tag : ' {{ env "IMAGE_TAG" | default "0.1.0" }}'
3735 pullPolicy : Always
38- # pullSecrets:
39- # - "{{ requiredEnv "RELEASE_NAME" }}-pull-secret-dockercfg "
4036 replicaCount : 2
4137 # Deployment configuration
4238 deployment :
@@ -51,11 +47,6 @@ releases:
5147 configMaps :
5248 default :
5349 enabled : true
54- env :
55- # Color to deploy
56- # COLOR: "#0099ff" # Blue
57- # COLOR: "#009900" # Green
58- COLOR : " {{ env " COLOR" }}"
5950
6051 # Service endpoint
6152 service :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments