File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 push : ${{ github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/') }}
4141 tags : |
4242 ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
43+ ${{ (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/')) && format('{0}:latest', env.IMAGE_NAME) || '' }}
4344 platforms : linux/amd64
4445 cache-from : type=gha
4546 cache-to : type=gha,mode=max
7879 push : ${{ github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/') }}
7980 tags : |
8081 ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
82+ ${{ (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/')) && format('{0}:latest', env.IMAGE_NAME) || '' }}
8183 platforms : linux/amd64
8284 cache-from : type=gha
8385 cache-to : type=gha,mode=max
@@ -116,6 +118,7 @@ jobs:
116118 push : ${{ github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/') }}
117119 tags : |
118120 ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
121+ ${{ (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/')) && format('{0}:latest', env.IMAGE_NAME) || '' }}
119122 platforms : linux/amd64
120123 cache-from : type=gha
121124 cache-to : type=gha,mode=max
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ app.use(express.json());
1616
1717const startServer = async ( ) : Promise < void > => {
1818 try {
19+ console . log ( '🔧 Environment Variables:' , process . env ) ; // <-- Print all envs
20+
1921 //! Connect to PostgreSQL
2022 const client = await pool . connect ( ) ;
2123 console . log ( '🐔🐔🐔 OrderDB connected to PostgreSQL' ) ;
You can’t perform that action at this time.
0 commit comments