Skip to content

Commit c5855ba

Browse files
committed
Accounting for secret key base in build
1 parent 5fad680 commit c5855ba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ jobs:
128128
env:
129129
COMPOSE_FILE: docker-compose.yml:docker-compose.ci.yml
130130
DOCKER_APP_IMAGE: ${{ needs.merge.outputs.image }}
131+
SECRET_KEY_BASE: dummy_secret
131132
steps:
132133
- name: Checkout code
133134
uses: actions/checkout@v4
@@ -144,7 +145,6 @@ jobs:
144145

145146
- name: Setup the stack
146147
run: |
147-
docker run --rm "${DOCKER_APP_IMAGE}" rails secret > /tmp/secret_key_base
148148
docker compose build --quiet
149149
docker compose pull --quiet
150150
docker compose up --wait

docker-compose.ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ services:
55
build: !reset
66
environment:
77
- CAPYBARA_SAVE_PATH=/opt/app/artifacts
8+
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
89
env_file: !reset []
910
image: ${DOCKER_APP_IMAGE}
1011
depends_on:

0 commit comments

Comments
 (0)