Skip to content

Commit

Permalink
pass GITHUB_REF into containers (and fix bad syntax)
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Feb 26, 2024
1 parent 91704ba commit 2f61609
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions actions-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
WEBAUTHN_TABLE: WebAuthn
LAMBDA_ROLE: placeholder
AWS_REGION: $AWS_REGION
GITHUB_REF: $GITHUB_REF
STG_AWS_ACCESS_KEY_ID: $STG_AWS_ACCESS_KEY_ID
STG_AWS_SECRET_ACCESS_KEY: $STG_AWS_SECRET_ACCESS_KEY
PRD_AWS_ACCESS_KEY_ID: $PRD_AWS_ACCESS_KEY_ID
Expand All @@ -21,17 +22,18 @@ services:
build: .
working_dir: /src
environment:
AWS_REGION: ${AWS_REGION}
STG_AWS_ACCESS_KEY_ID: ${STG_AWS_ACCESS_KEY_ID}
STG_AWS_SECRET_ACCESS_KEY: ${STG_AWS_SECRET_ACCESS_KEY}
STG_LAMBDA_ROLE: ${STG_LAMBDA_ROLE}
STG_API_KEY_TABLE: ${STG_API_KEY_TABLE}
STG_WEBAUTHN_TABLE: ${STG_WEBAUTHN_TABLE}
PRD_AWS_ACCESS_KEY_ID: ${PRD_AWS_ACCESS_KEY_ID}
PRD_AWS_SECRET_ACCESS_KEY: ${PRD_AWS_SECRET_ACCESS_KEY}
PRD_LAMBDA_ROLE: ${PRD_LAMBDA_ROLE}
PRD_API_KEY_TABLE: ${PRD_API_KEY_TABLE}
PRD_WEBAUTHN_TABLE: ${PRD_WEBAUTHN_TABLE}
AWS_REGION: $AWS_REGION
GITHUB_REF: $GITHUB_REF
STG_AWS_ACCESS_KEY_ID: $STG_AWS_ACCESS_KEY_ID
STG_AWS_SECRET_ACCESS_KEY: $STG_AWS_SECRET_ACCESS_KEY
STG_LAMBDA_ROLE: $STG_LAMBDA_ROLE
STG_API_KEY_TABLE: $STG_API_KEY_TABLE
STG_WEBAUTHN_TABLE: $STG_WEBAUTHN_TABLE
PRD_AWS_ACCESS_KEY_ID: $PRD_AWS_ACCESS_KEY_ID
PRD_AWS_SECRET_ACCESS_KEY: $PRD_AWS_SECRET_ACCESS_KEY
PRD_LAMBDA_ROLE: $PRD_LAMBDA_ROLE
PRD_API_KEY_TABLE: $PRD_API_KEY_TABLE
PRD_WEBAUTHN_TABLE: $PRD_WEBAUTHN_TABLE

dynamo:
image: amazon/dynamodb-local
Expand Down

0 comments on commit 2f61609

Please sign in to comment.