Skip to content

Commit

Permalink
update runtime config properties
Browse files Browse the repository at this point in the history
  • Loading branch information
thwbh committed Nov 9, 2024
1 parent c4d5613 commit 384055b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,7 @@ jobs:

- name: Build kamifusen
run: |
./gradlew build -Dquarkus.native.enabled=true -Dquarkus.package.jar.enabled=false \
-Dversion=${{ steps.semver.outputs.semantic-version }} \
-Dquarkus.http.cors=${{ vars.ALLOW_CORS }} \
-Dquarkus.http.cors.origins=${{ vars.ALLOWED_ORIGINS }} \
&& echo "quarkus.http.auth.session.encryption-key=${{ secrets.AUTH_ENCRYPTION_KEY }}" >> src/main/resources/application.properties
./gradlew build -Dquarkus.native.enabled=true -Dquarkus.package.jar.enabled=false
- name: Build kamifusen native-micro image
run: |
Expand All @@ -58,9 +54,13 @@ jobs:
ghcr.io/tohuwabohu-io/kamifusen:${{ steps.semver.outputs.semantic-version }} \
--image-label ${{ steps.semver.outputs.semantic-version }} --local-only --no-cache \
&& flyctl secrets set -a kamifusen --detach \
QUARKUS_APPLICATION_VERSION=${{ steps.semver.outputs.semantic-version }} \
QUARKUS_DATASOURCE_PASSWORD=${{ secrets.DB_PWD }} \
QUARKUS_DATASOURCE_REACTIVE_URL=${{ secrets.DB_URL }} \
QUARKUS_DATASOURCE_USERNAME=${{ secrets.DB_USER }}
QUARKUS_DATASOURCE_USERNAME=${{ secrets.DB_USER }} \
QUARKUS_HTTP_CORS=${{ vars.ALLOW_CORS }} \
QUARKUS_HTTP_CORS_ORIGINS=${{ vars.ALLOWED_ORIGINS }} \
QUARKUS_HTTP_AUTH_SESSION_ENCRYPTION_KEY=${{ secrets.AUTH_ENCRYPTION_KEY }}
- name: Update kamifusen image version
run: |
Expand Down

0 comments on commit 384055b

Please sign in to comment.