fix: update github cicd

This commit is contained in:
2025-01-17 23:49:40 +01:00
parent fe19fce6cc
commit d0f69bc9e4
2 changed files with 3 additions and 13 deletions

View File

@@ -34,9 +34,7 @@ jobs:
IMAGE_TAG: ${{ github.sha }}
run: |
docker build \
--build-arg DB_HOST=${{ secrets.DB_HOST }} \
--build-arg DB_USER=${{ secrets.DB_USER }} \
--build-arg DB_PASSWORD="${{ secrets.DB_PASSWORD }}" \
--build-arg DB_URL=${{ secrets.DB_URL }} \
-t $ECR_REGISTRY/stan/personal-website:$IMAGE_TAG \
packages/web
docker push $ECR_REGISTRY/stan/personal-website:$IMAGE_TAG

View File

@@ -17,22 +17,14 @@
{
"name": "ORIGIN",
"value": "https://stanrunge.dev"
},
{
"name": "DB_HOST",
"value": "vash-db.c0n0e8svjact.eu-west-1.rds.amazonaws.com"
}
],
"mountPoints": [],
"volumesFrom": [],
"secrets": [
{
"name": "DB_USER",
"valueFrom": "arn:aws:secretsmanager:eu-west-1:949678216675:secret:rds!cluster-37ddb1be-692f-449c-8384-9c6e31012245-024tQs:username::"
},
{
"name": "DB_PASSWORD",
"valueFrom": "arn:aws:secretsmanager:eu-west-1:949678216675:secret:rds!cluster-37ddb1be-692f-449c-8384-9c6e31012245-024tQs:password::"
"name": "DB_URL",
"valueFrom": "arn:aws:secretsmanager:eu-west-1:949678216675:secret:DB_URL-NmGgN8:DB_URL::"
}
],
"logConfiguration": {