Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
van1164 committed Jun 1, 2024
2 parents 88ef126 + ee63674 commit d264905
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,22 @@ jobs:
# 2. Spring Boot 애플리케이션 빌드
- name: Build with Gradle
run: |
touch src/main/resources/application-oauth.properties
touch src/main/resources/application-prod.properties
touch src/main/resources/application.properties
echo "${{ secrets.APPLICATION_PROD }}" > src/main/resources/application-prod.properties
echo "${{ secrets.APPLICATION_OAUTH }}" > src/main/resources/application-oauth.properties
echo "${{ secrets.APPLICATION_PROPERTIES }}" > src/main/resources/application.properties
cat src/main/resources/application-prod.properties
touch video/src/main/resources/application-oauth.properties
touch video/src/main/resources/application-prod.properties
touch video/src/main/resources/application.properties
echo "${{ secrets.APPLICATION_PROD }}" > video/src/main/resources/application-prod.properties
echo "${{ secrets.APPLICATION_OAUTH }}" > video/src/main/resources/application-oauth.properties
echo "${{ secrets.APPLICATION_PROPERTIES }}" > video/src/main/resources/application.properties
cat video/src/main/resources/application-prod.properties
chmod +x gradlew
./gradlew clean build --exclude-task test
./gradlew clean video:build --exclude-task test
ls
pwd
docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/streaming:latest .
docker push ${{ secrets.DOCKERHUB_USERNAME }}/streaming:latest
cd live-streamming
cd ../live-streamming
docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/nginx-rtmp:ssl .
docker push ${{ secrets.DOCKERHUB_USERNAME }}/nginx-rtmp:ssl
Expand Down

0 comments on commit d264905

Please sign in to comment.