File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - " deployment/hasura/migrations/**"
77 - " deployment/postgres-init-db/sql/**"
88 - " .github/workflows/pgcmp.yml"
9- - " .github/workflows/scripts/compareDatabases*"
9+ - " .github/scripts/compareDatabases*"
10+ - " .github/scripts/explanations_*"
1011 push :
1112 paths :
1213 - " deployment/hasura/migrations/**"
1314 - " deployment/postgres-init-db/sql/**"
1415 - " .github/workflows/pgcmp.yml"
15- - " .github/workflows/scripts/compareDatabases*"
16+ - " .github/scripts/compareDatabases*"
17+ - " .github/scripts/explanations_*"
1618 branches :
1719 - develop
1820 - dev-[0-9]+.[0-9]+.[0-9]+
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ jobs:
140140
141141 scan :
142142 runs-on : ubuntu-latest
143- needs : containers
143+ needs : [init, containers]
144144 if : needs.init.outputs.SHOULD_PUBLISH_IMAGES == 'true'
145145 strategy :
146146 matrix :
@@ -159,14 +159,20 @@ jobs:
159159 steps :
160160 - uses : actions/checkout@v6
161161
162+ - name : Extract metadata for ${{ matrix.image }}
163+ id : metadata-step
164+ uses : docker/metadata-action@v5
165+ with :
166+ images : ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ matrix.image }}
167+
162168 - name : Scan ${{ matrix.image }} for vulnerabilities
163169 # pinned to commit for release https://github.com/aquasecurity/trivy-action/releases/tag/v0.24.0
164170 uses : aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8
165171 env :
166172 TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db
167173 TRIVY_JAVA_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-java-db
168174 with :
169- image-ref : ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ matrix.image }}:develop
175+ image-ref : ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ matrix.image }}:${{ steps.metadata-step.outputs.version }}
170176 ignore-unfixed : true
171177 exit-code : " 1"
172178 severity : " CRITICAL"
Original file line number Diff line number Diff line change 2323** /target /*
2424. * .swp
2525.tags
26+ .codex
2627
2728# ## Build ###
2829.m2
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export class ActionsDbManager {
1717 logger . info ( `Creating PG pool` ) ;
1818 ActionsDbManager . pool = new pg . Pool ( {
1919 host : AERIE_DB_HOST ,
20- port : parseInt ( AERIE_DB_PORT , 5432 ) ,
20+ port : parseInt ( AERIE_DB_PORT ) ,
2121 database : AERIE_DB ,
2222 user : ACTION_DB_USER ,
2323 password : ACTION_DB_PASSWORD ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ function getDbPool() {
2020
2121 dbPool = new pg . Pool ( {
2222 host : AERIE_DB_HOST ,
23- port : parseInt ( AERIE_DB_PORT , 5432 ) ,
23+ port : parseInt ( AERIE_DB_PORT ) ,
2424 database : AERIE_DB ,
2525 user : ACTION_DB_USER ,
2626 password : ACTION_DB_PASSWORD ,
You can’t perform that action at this time.
0 commit comments