-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b711ca1
commit 2aa8e8a
Showing
1 changed file
with
2 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,14 +40,6 @@ jobs: | |
java-version: '17' | ||
distribution: 'temurin' | ||
|
||
# Setup Redis | ||
- name: Setup Redis | ||
uses: shogo82148/[email protected] | ||
with: | ||
redis-version: 6.2.0 | ||
redis-port: 6379 | ||
auto-start: true | ||
|
||
# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies. | ||
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md | ||
- name: Grant execute permission for gradlew | ||
|
@@ -65,6 +57,7 @@ jobs: | |
env: | ||
SPRING_R2DBC_URL: r2dbc:pool:mysql://localhost:3306/testdb | ||
SPRING_R2DBC_PASSWORD: testdb | ||
MONGO_URL: ${{ secrets.MONGO_URL }} | ||
run: ./gradlew build | ||
|
||
# dockerfile을 통해 이미지를 빌드하고, 이를 docker repo로 push | ||
|
@@ -94,7 +87,7 @@ jobs: | |
cd ${{secrets.PROJECT_PATH}} | ||
sudo docker-compose stop | ||
sudo docker rm $(docker ps -a -q) | ||
sudo docker rm $(sudo docker ps -a -q) | ||
sudo docker rmi ${{ secrets.DOCKER_REPO }} | ||
sudo docker pull ${{ secrets.DOCKER_REPO }} | ||
|