fix: move env vars to dockerfile

This commit is contained in:
2025-01-11 05:24:45 +01:00
parent faba51af73
commit abed683eda
2 changed files with 8 additions and 10 deletions

View File

@@ -8,11 +8,6 @@ on:
branches:
- main
env:
DB_HOST: host
DB_USER: user
DB_PASSWORD: password
jobs:
build:
runs-on: ubuntu-latest
@@ -38,7 +33,7 @@ jobs:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
IMAGE_TAG: ${{ github.sha }}
run: |
docker build -t $ECR_REGISTRY/stan/website:$IMAGE_TAG packages/web
docker build -t $ECR_REGISTRY/stan/website:$IMAGE_TAG packages/web
docker push $ECR_REGISTRY/stan/website:$IMAGE_TAG
echo "image=$ECR_REGISTRY/stan/website:$IMAGE_TAG" >> $GITHUB_OUTPUT