Skip to content

Commit f9949dd

Browse files
committed
allow secret key to be passed in...secretly in CI
1 parent e68f6da commit f9949dd

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ jobs:
114114
env:
115115
COMPOSE_FILE: docker-compose.yml:docker-compose.ci.yml
116116
DOCKER_APP_IMAGE: ${{ needs.merge.outputs.image }}
117+
SECRET_KEY_BASE: ${{ secrets.SECRET_KEY_BASE }}
117118
steps:
118119
- name: Checkout code
119120
uses: actions/checkout@v4

docker-compose.ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ services:
66
image: ${DOCKER_APP_IMAGE}
77
volumes: !override
88
- artifacts:/opt/app/artifacts
9+
environment:
10+
SECRET_KEY_BASE: ${SECRET_KEY_BASE:?error}
911

1012
db:
1113
volumes: !reset

0 commit comments

Comments
 (0)