-
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.
chore: Dockerfile 방식에서 docker-compose 방식으로 대체
- Loading branch information
1 parent
3910ec9
commit 4a71716
Showing
6 changed files
with
4 additions
and
277 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 |
---|---|---|
|
@@ -33,22 +33,12 @@ jobs: | |
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
|
||
- name: 환경변수 파일 생성 | ||
run: echo "${{ secrets.APPLICATION_ENV }}" > ./.env | ||
run: echo "${{ secrets.APPLICATION_ENV }}" > ./src/main/resources/application-prod.yml | ||
|
||
- name: ubuntu Docker image build and push | ||
- name: Docker 이미지 빌드 & 푸쉬 | ||
run: | | ||
docker-compose -f ./docker-compose.yml build | ||
docker-compose -f ./docker-compose.yml push | ||
# - name: ubuntu Docker image build | ||
# run: docker build -t ${{ secrets.DOCKER_NAME }}/we-share-wish-hair:latest -f Dockerfile-server . | ||
# | ||
# - name: Redis Docker image build | ||
# run: docker build -t ${{ secrets.DOCKER_NAME }}/we-share-wish-hair:redis -f Dockerfile-redis . | ||
# | ||
# - name: ubuntu docker Hub 푸쉬 | ||
# run: docker push ${{ secrets.DOCKER_NAME }}/we-share-wish-hair:latest | ||
# - name: Redis docker Hub 푸쉬 | ||
# run: docker push ${{ secrets.DOCKER_NAME }}/we-share-wish-hair:redis | ||
- name: Deploy with push | ||
uses: appleboy/[email protected] | ||
|
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.