Skip to content

Commit 87f8fe2

Browse files
authored
release: 1.5.5 (#167)
2 parents cad543c + 756a60d commit 87f8fe2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/deploy.yml

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ jobs:
8686
"ELASTIC_SEARCH_PASSWORD=${{ secrets.ELASTIC_SEARCH_PASSWORD }}"
8787
"QUIZ_APPROVE_TOKEN=${{ secrets.QUIZ_APPROVE_TOKEN }}"
8888
"RELAY_APPROVE_TOKEN=${{ secrets.RELAY_APPROVE_TOKEN }}"
89+
"INTERNAL_AUTH_SECRET=${{ secrets.INTERNAL_AUTH_SECRET }}"
8990
9091
- name: build and push filebeat
9192
uses: docker/build-push-action@v4

deploy/api/Dockerfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ ARG ELASTIC_SEARCH_USER_NAME
2121
ARG ELASTIC_SEARCH_PASSWORD
2222
ARG QUIZ_APPROVE_TOKEN
2323
ARG RELAY_APPROVE_TOKEN
24+
ARG INTERNAL_AUTH_SECRET
2425

2526
ARG JAR_FILE=./*.jar
2627
COPY ${JAR_FILE} gitanimals-api.jar
@@ -45,7 +46,8 @@ ENV db_url=${DB_URL} \
4546
elastic_search_user_name=${ELASTIC_SEARCH_USER_NAME} \
4647
elastic_search_password=${ELASTIC_SEARCH_PASSWORD} \
4748
quiz_approve_token=${QUIZ_APPROVE_TOKEN} \
48-
relay_approve_token=${RELAY_APPROVE_TOKEN}
49+
relay_approve_token=${RELAY_APPROVE_TOKEN} \
50+
internal_auth_secret=${INTERNAL_AUTH_SECRET}
4951

5052
ENTRYPOINT java -Djava.net.preferIPv4Stack=true -jar gitanimals-api.jar \
5153
--spring.datasource.url=${db_url} \
@@ -68,4 +70,5 @@ ENTRYPOINT java -Djava.net.preferIPv4Stack=true -jar gitanimals-api.jar \
6870
--spring.elasticsearch.username=${elastic_search_user_name} \
6971
--spring.elasticsearch.password=${elastic_search_password} \
7072
--quiz.approve.token=${quiz_approve_token} \
71-
--relay.approve.token=${relay_approve_token}
73+
--relay.approve.token=${relay_approve_token} \
74+
--internal.auth.secret=${internal_auth_secret}

0 commit comments

Comments
 (0)