File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# ## This is the Terraform-generated dev-build.yml workflow for the ###
22# ## docker-matomo-dev app repository. ###
3- name : Dev Container Build and Deploy
4-
5- # checkov:skip=CKV2_GHA_1:The shared workflow contains the permissions constraints
6- # NOTE: The above checkov skip command doesn't actually work and this workflow
7- # will always show a checkov warning.
3+ name : Dev Build and Push ECR Image
84on :
95 workflow_dispatch :
106 pull_request :
139 paths-ignore :
1410 - ' .github/**'
1511
12+ permissions :
13+ id-token : write
14+ contents : read
15+
1616jobs :
17- deploy :
18- name : Dev Container Deploy
19- uses : mitlibraries/.github/.github/workflows/ecr-shared- deploy-dev.yml@INFRA-526
17+ build-push :
18+ name : Dev Build and Push Image
19+ uses : mitlibraries/.github/.github/workflows/ecr-multi-arch- deploy-dev.yml@main
2020 secrets : inherit
2121 with :
2222 AWS_REGION : " us-east-1"
2323 GHA_ROLE : " docker-matomo-gha-dev"
2424 ECR : " docker-matomo-dev"
25+ # DOCKERFILE: # only if the name of the Dockerfile is not "Dockerfile"!
26+ # FUNCTION: "" # only if this is a container-based Lambda function
27+ # PREBUILD: # only if there is some pre-build dependency
Original file line number Diff line number Diff line change 11# ## This is the Terraform-generated prod-promote.yml workflow for the ###
22# ## docker-matomo-prod repository. ###
33
4- name : Prod Container Promote
5-
6- # checkov:skip=CKV2_GHA_1:The shared workflow contains the permissions constraints
7- # NOTE: The above checkov skip command doesn't actually work and this workflow
8- # will always show a checkov warning.
9-
4+ name : Prod Promote Image
105on :
116 workflow_dispatch :
127 release :
138 types : [published]
149
1510jobs :
16- deploy :
17- name : Prod Container Promote
18- uses : mitlibraries/.github/.github/workflows/ecr-shared- promote-prod.yml@INFRA-526
11+ promote :
12+ name : Prod Promote Container
13+ uses : mitlibraries/.github/.github/workflows/ecr-multi-arch- promote-prod.yml@main
1914 secrets : inherit
2015 with :
2116 AWS_REGION : " us-east-1"
22- GHA_ROLE_STAGE : docker-matomo-gha-stage
23- GHA_ROLE_PROD : docker-matomo-gha-prod
24- ECR_STAGE : " docker-matomo-stage "
17+ GHA_ROLE_STAGE : " docker-matomo-gha-prod "
18+ GHA_ROLE_PROD : " docker-matomo-gha-prod"
19+ ECR_STAGE : " docker-matomo-prod "
2520 ECR_PROD : " docker-matomo-prod"
26- # FUNCTION: ""
27-
21+ # DEFAULT_BRANCH: # Only if the default branch is not "main"!
22+ # FUNCTION: "" # only if this is a container-based Lambda function
23+
Original file line number Diff line number Diff line change 11# ## This is the Terraform-generated dev-build.yml workflow for the ###
22# ## docker-matomo-stage app repository. ###
3- name : Stage Container Build and Deploy
4-
5- # checkov:skip=CKV2_GHA_1:The shared workflow contains the permissions constraints
6- # NOTE: The above checkov skip command doesn't actually work and this workflow
7- # will always show a checkov warning.
8-
3+ name : Stage Build and Push ECR Image
94on :
105 workflow_dispatch :
116 push :
149 paths-ignore :
1510 - ' .github/**'
1611
12+ permissions :
13+ id-token : write
14+ contents : read
15+
1716jobs :
18- deploy :
19- name : Stage Container Deploy
20- uses : mitlibraries/.github/.github/workflows/ecr-shared- deploy-stage.yml@INFRA-526
17+ build-push :
18+ name : Stage Build and Push Image
19+ uses : mitlibraries/.github/.github/workflows/ecr-multi-arch- deploy-stage.yml@main
2120 secrets : inherit
2221 with :
2322 AWS_REGION : " us-east-1"
2423 GHA_ROLE : " docker-matomo-gha-stage"
2524 ECR : " docker-matomo-stage"
26-
25+ # DOCKERFILE: # only if the name of the Dockerfile is not "Dockerfile"!
26+ # FUNCTION: "" # only if this is a container-based Lambda function
27+ # PREBUILD: # only if there is some pre-build dependency
You can’t perform that action at this time.
0 commit comments