Skip to content

Commit

Permalink
Chore: github secret ์ถ”๊ฐ€
Browse files Browse the repository at this point in the history
  • Loading branch information
saokiritoni authored Oct 28, 2024
1 parent dcb86fc commit 98a6910
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,14 @@ jobs:
sudo docker rm $(sudo docker ps --filter 'status=exited' -a -q)
sudo docker image prune -a -f
sudo docker run -d --restart unless-stopped --log-driver=syslog -p 8080:8080 \
-e SPRING_DATASOURCE_URL=jdbc:mysql://${{ secrets.RDS_ENDPOINT }}:3306/yourDatabaseName \
-e SPRING_DATASOURCE_USERNAME=${{ secrets.RDS_USERNAME }} \
-e SPRING_DATASOURCE_PASSWORD=${{ secrets.RDS_PASSWORD }} \
-e DB_URL=${{ secrets.DB_URL }} \
-e DB_USERNAME=${{ secrets.DB_USERNAME }} \
-e DB_PASSWORD=${{ secrets.DB_PASSWORD }} \
-e REDIS_HOST=${{ secrets.REDIS_HOST }} \
-e REDIS_PORT=${{ secrets.REDIS_PORT }} \
-e SMTP_HOST=${{ secrets.SMTP_HOST }} \
-e SMTP_PORT=${{ secrets.SMTP_PORT }} \
-e SMTP_USERNAME=${{ secrets.SMTP_USERNAME }} \
-e SMTP_PASSWORD=${{ secrets.SMTP_PASSWORD }} \
${{ secrets.DOCKER_USERNAME }}/docker-test:latest

0 comments on commit 98a6910

Please sign in to comment.