Skip to content

Commit

Permalink
docs: 환경변수 수정 최종
Browse files Browse the repository at this point in the history
  • Loading branch information
somin-jeong committed Apr 29, 2024
1 parent 3f887d0 commit 458d520
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,23 @@ jobs:
- name: Docker build
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
docker build -t app .
docker build --build-arg ACTIVE_PROFILE=${{ secrets.ACTIVE_PROFILE }} \
--build-arg DATASOURCE_URL_DEV=${{ secrets.DATASOURCE_URL_DEV }} \
--build-arg DATASOURCE_USERNAME=${{ secrets.DATASOURCE_USERNAME }} \
--build-arg DATASOURCE_PASSWORD=${{ secrets.DATASOURCE_PASSWORD }} \
--build-arg ACCESSTOKEN_EXPIREDDATE=${{ secrets.ACCESSTOKEN_EXPIREDDATE }} \
--build-arg JWT_EXPIRED_IN=${{ secrets.JWT_EXPIRED_IN }} \
--build-arg JWT_SECRET_KEY=${{ secrets.JWT_SECRET_KEY }} \
--build-arg DATA_REDIS_HOST=${{ secrets.DATA_REDIS_HOST }} \
--build-arg DATA_REDIS_PORT=${{ secrets.DATA_REDIS_PORT }} \
--build-arg OAUTH_APPLE_CLIENT_ID=${{ secrets.OAUTH_APPLE_CLIENT_ID }} \
--build-arg OAUTH_APPLE_NONCE=${{ secrets.OAUTH_APPLE_NONCE }} \
--build-arg OAUTH_KAKAO_CLIENT_ID=${{ secrets.OAUTH_KAKAO_CLIENT_ID }} \
--build-arg AWS_S3_BUCKET_NAME=${{ secrets.AWS_S3_BUCKET_NAME }} \
--build-arg AWS_S3_ACCESS_KEY=${{ secrets.AWS_S3_ACCESS_KEY }} \
--build-arg AWS_S3_SECRET_KEY=${{ secrets.AWS_S3_SECRET_KEY }} \
--build-arg USER_DEFAULTIMAGE=${{ secrets.USER_DEFAULTIMAGE }} \
-t app .
docker tag app ${{ secrets.DOCKER_USERNAME }}/conet:latest
docker push ${{ secrets.DOCKER_USERNAME }}/conet:latest
Expand Down

0 comments on commit 458d520

Please sign in to comment.