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 7
7
permissions :
8
8
pull-requests : write
9
9
deployments : write
10
+ id-token : write
11
+ contents : read
10
12
11
13
jobs :
12
14
perform :
13
15
uses : cloudposse/github-actions-workflows/.github/workflows/dockerized-app-feature-branch.yml@main
14
16
with :
15
17
organization : " ${{ github.event.repository.owner.login }}"
16
18
repository : " ${{ github.event.repository.name }}"
17
- registry : registry.hub.docker.com
18
19
open : ${{ github.event.pull_request.state == 'open' }}
19
20
labels : ${{ toJSON(github.event.pull_request.labels.*.name) }}
20
21
ref : ${{ github.event.pull_request.head.ref }}
21
22
secrets :
22
- docker-login : " ${{ secrets.DOCKERHUB_USERNAME }}"
23
- docker-password : " ${{ secrets.DOCKERHUB_PASSWORD }}"
24
23
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 13
13
with :
14
14
organization : " ${{ github.event.repository.owner.login }}"
15
15
repository : " ${{ github.event.repository.name }}"
16
- registry : registry.hub.docker.com
17
16
secrets :
18
- docker-login : " ${{ secrets.DOCKERHUB_USERNAME }}"
19
- docker-password : " ${{ secrets.DOCKERHUB_PASSWORD }}"
20
17
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 12
12
with :
13
13
organization : " ${{ github.event.repository.owner.login }}"
14
14
repository : " ${{ github.event.repository.name }}"
15
- registry : registry.hub.docker.com
16
15
version : ${{ github.event.release.tag_name }}
17
16
secrets :
18
- docker-login : " ${{ secrets.DOCKERHUB_USERNAME }}"
19
- docker-password : " ${{ secrets.DOCKERHUB_PASSWORD }}"
20
17
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:
6
6
production :
7
7
8
8
helmfiles :
9
- # - "releases/pull-secret.yaml"
10
- - path : " ./releases/app.yaml"
9
+ - path : " releases/app.yaml"
11
10
values :
12
11
-
13
12
{{ .Values | toYaml | indent 8 }}
Original file line number Diff line number Diff line change @@ -20,23 +20,19 @@ releases:
20
20
# References:
21
21
# - https://github.com/cloudposse/charts/blob/master/incubator/monochart
22
22
#
23
- - name : ' {{ requiredEnv "RELEASE_NAME" }} '
23
+ - name : ' example-app '
24
24
labels :
25
- color : " {{ requiredEnv " COLOR" }}"
26
25
preview : " true"
27
26
chart : " cloudposse-incubator/monochart"
28
27
version : " 0.22.0"
29
28
wait : true
30
29
force : true
31
30
recreatePods : false
32
31
values :
33
- - fullnameOverride : " example-{{ requiredEnv " COLOR" }}"
34
- image :
32
+ - image :
35
33
repository : ' {{ env "IMAGE_NAME" | default "cloudposse/example-app" }}'
36
34
tag : ' {{ env "IMAGE_TAG" | default "0.1.0" }}'
37
35
pullPolicy : Always
38
- # pullSecrets:
39
- # - "{{ requiredEnv "RELEASE_NAME" }}-pull-secret-dockercfg "
40
36
replicaCount : 2
41
37
# Deployment configuration
42
38
deployment :
@@ -51,11 +47,6 @@ releases:
51
47
configMaps :
52
48
default :
53
49
enabled : true
54
- env :
55
- # Color to deploy
56
- # COLOR: "#0099ff" # Blue
57
- # COLOR: "#009900" # Green
58
- COLOR : " {{ env " COLOR" }}"
59
50
60
51
# Service endpoint
61
52
service :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments