Skip to content

Commit

Permalink
fixed typo, adjusted container for passing secrets
Browse files Browse the repository at this point in the history
Signed-off-by: Duncan Ragsdale <[email protected]>
  • Loading branch information
Thistleman committed Mar 8, 2024
1 parent c948ffb commit c09363c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/deployapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ env:
ECS_API_CLUSTER: pv-validation-hub-api-cluster
API_CONTAINER_NAME: pv-validation-hub-api-task
DJANGOSK: ${{ secrets.DJANGOSK }}
PGP: ${{ secrets.PGP }}
PGU: ${{ secrets.PGU }}
ADU: ${{ secrets.ADU }}
ADP: ${{ secrets.ADP }}
ADE: ${{ secrets.ADE }}
Expand Down Expand Up @@ -46,12 +44,10 @@ jobs:
IMAGE_TAG: latest
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG \
--build-arg ${{ env.DJANGOSK }} \
--build-arg ${{ env.PGP }} \
--build-arg ${{ env.PGU }} \
--build-arg ${{ env.ADU }} \
--build-arg ${{ env.ADP }} \
--build-arg ${{ env.ADE }} \
--build-arg djangosk=${{ env.DJANGOSK }} \
--build-arg admin_username=${{ env.ADU }} \
--build-arg admin_password=${{ env.ADP }} \
--build-arg admin_email=${{ env.ADE }} \
--build-arg region=${{ env.AWS_REGION }} \
--secret id=ak,${{ secrets.AWS_ACCESS_KEY }} \
--secret id=sak,${{ secrets.AWS_SECRET_ACCESS_KEY }} \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deployfe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
run: |
cd frontend
npm install
cp ./.env.example .env
npm run build
- name: Move Build to tmp
Expand Down

0 comments on commit c09363c

Please sign in to comment.