Skip to content

Commit 3522086

Browse files
fix: fix AUTH_SECRET generation
1 parent 128a8e0 commit 3522086

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
registry: europe-west1-docker.pkg.dev
4343
username: oauth2accesstoken
4444
password: ${{ steps.auth.outputs.access_token }}
45+
-
46+
name: Generate AUTH_SECRET
47+
run: echo "AUTH_SECRET=${openssl rand -base64 32}" >> $GITHUB_ENV
4548
-
4649
name: Build Docker images
4750
uses: docker/bake-action@v4

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ jobs:
103103
KEYCLOAK_DOCKER_IMAGE: europe-west1-docker.pkg.dev/${{ secrets.GKE_PROJECT }}/${{ secrets.GKE_PROJECT }}/keycloak:latest
104104
APP_SECRET: ba63418865d58089f7f070e0a437b6d16b1fb970
105105
CADDY_MERCURE_JWT_SECRET: 33b04d361e437e0d7d715600fc24fdefba317154
106-
AUTH_SECRET: 77e4c3f5a6fb652b6245a5df8a704e04ad90bc7e
107106
POSTGRES_PASSWORD: aae5bf316ef5fe87ad806c6a9240fff68bcfdaf7
108107
KEYCLOAK_POSTGRES_PASSWORD: 26d7f630f1524eb210bbf496443f2038a9316e9e
109108
KEYCLOAK_ADMIN_PASSWORD: 2f31e2fad93941b818449fd8d57fd019b6ce7fa5
@@ -116,6 +115,9 @@ jobs:
116115
-
117116
name: Set up Docker Buildx
118117
uses: docker/setup-buildx-action@v3
118+
-
119+
name: Generate AUTH_SECRET
120+
run: echo "AUTH_SECRET=${openssl rand -base64 32}" >> $GITHUB_ENV
119121
-
120122
name: Build Docker Images
121123
uses: docker/bake-action@v4

0 commit comments

Comments
 (0)