File tree Expand file tree Collapse file tree 5 files changed +39
-13
lines changed Expand file tree Collapse file tree 5 files changed +39
-13
lines changed Original file line number Diff line number Diff line change 1
- # ## This is the Terraform-generated dev-build.yml workflow for the docker-matomo-dev app repository ###
2
- # ## If this is a Lambda repo, uncomment the FUNCTION line at the end of the document ###
3
- # ## If the container requires any additional pre-build commands, uncomment and edit ###
4
- # ## the PREBUILD line at the end of the document. ###
1
+ # ## This is the Terraform-generated dev-build.yml workflow for the ###
2
+ # ## docker-matomo-dev app repository. ###
3
+ # ## If this is a Lambda repo, uncomment the FUNCTION line at the end of the ###
4
+ # ## document. If the container requires any additional pre-build commands, ###
5
+ # ## uncomment and edit the PREBUILD line at the end of the document. ###
5
6
name : Dev Container Build and Deploy
6
7
on :
7
8
workflow_dispatch :
11
12
paths-ignore :
12
13
- ' .github/**'
13
14
15
+ permissions : read-all
16
+
14
17
jobs :
15
18
deploy :
19
+ # These permissions are needed to interact with GitHub's OIDC Token endpoint.
20
+ permissions :
21
+ id-token : write
22
+ contents : read
23
+
16
24
name : Dev Container Deploy
17
25
uses : mitlibraries/.github/.github/workflows/ecr-shared-deploy-dev.yml@main
18
26
secrets : inherit
Original file line number Diff line number Diff line change 1
- # ## This is the Terraform-generated prod-promote.yml workflow for the docker-matomo-prod repository. ###
2
- # ## If this is a Lambda repo, uncomment the FUNCTION line at the end of the document. ###
1
+ # ## This is the Terraform-generated prod-promote.yml workflow for the ###
2
+ # ## docker-matomo-prod repository. ###
3
+ # ## If this is a Lambda repo, uncomment the FUNCTION line at the end of the ###
4
+ # ## document. ###
3
5
name : Prod Container Promote
4
6
on :
5
7
workflow_dispatch :
6
8
release :
7
9
types : [published]
8
10
11
+ permissions : read-all
12
+
9
13
jobs :
10
14
deploy :
15
+ # These permissions are needed to interact with GitHub's OIDC Token endpoint.
16
+ permissions :
17
+ id-token : write
18
+ contents : read
19
+
11
20
name : Prod Container Promote
12
21
uses : mitlibraries/.github/.github/workflows/ecr-shared-promote-prod.yml@main
13
22
secrets : inherit
Original file line number Diff line number Diff line change 1
- # ## This is the Terraform-generated dev-build.yml workflow for the docker-matomo-stage app repository ###
2
- # ## If this is a Lambda repo, uncomment the FUNCTION line at the end of the document ###
3
- # ## If the container requires any additional pre-build commands, uncomment and edit ###
4
- # ## the PREBUILD line at the end of the document. ###
1
+ # ## This is the Terraform-generated dev-build.yml workflow for the ###
2
+ # ## docker-matomo-stage app repository. ###
3
+ # ## If this is a Lambda repo, uncomment the FUNCTION line at the end of the ###
4
+ # ## document. If the container requires any additional pre-build commands, ###
5
+ # ## uncomment and edit the PREBUILD line at the end of the document. ###
5
6
name : Stage Container Build and Deploy
6
7
on :
7
8
workflow_dispatch :
11
12
paths-ignore :
12
13
- ' .github/**'
13
14
15
+ permissions : read-all
16
+
14
17
jobs :
15
18
deploy :
19
+ # These permissions are needed to interact with GitHub's OIDC Token endpoint.
20
+ permissions :
21
+ id-token : write
22
+ contents : read
23
+
16
24
name : Stage Container Deploy
17
25
uses : mitlibraries/.github/.github/workflows/ecr-shared-deploy-stage.yml@main
18
26
secrets : inherit
Original file line number Diff line number Diff line change 1
1
.env
2
2
** /.DS_Store
3
+ temp /
Original file line number Diff line number Diff line change 1
1
.PHONY : help dist-dev publish-dev dist-stage publish-stage
2
2
SHELL =/bin/bash
3
3
# ## This is the Terraform-generated header for docker-matomo-dev. If ###
4
- # ## this is a Lambda repo, uncomment the FUNCTION line below ###
5
- # ## and review the other commented lines in the document. ###
4
+ # ## this is a Lambda repo, uncomment the FUNCTION line below ###
5
+ # ## and review the other commented lines in the document. ###
6
6
ECR_NAME_DEV: =docker-matomo-dev
7
7
ECR_URL_DEV: =222053980223.dkr.ecr.us-east-1.amazonaws.com/docker-matomo-dev
8
8
# FUNCTION_DEV:=
9
- # ## End of Terraform-generated header ###
9
+ # ## End of Terraform-generated header ###
10
10
11
11
help : # # Print this message
12
12
@awk ' BEGIN { FS = ":.*##"; print "Usage: make <target>\n\nTargets:" } \
You can’t perform that action at this time.
0 commit comments