Skip to content

Commit

Permalink
fix: yml 설정 오탈자 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
EunChanNam committed Nov 29, 2023
1 parent 7b7e80e commit 81a57cd
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,20 @@ jobs:
source: "./.env"
target: "./"

- name: ubuntu Docker image build and push
run: |
docker-compose -f ./docker/docker-compose.yml build
docker-compose -f ./docker/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 image build and push
# run: |
# docker-compose -f ./docker/docker-compose.yml build
# docker-compose -f ./docker/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: 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: 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]
Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 5 additions & 3 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ services:
server:
build:
context: ./
dockerfile: server/Dockerfile-server
dockerfile: ../Dockerfile-server
image: eunchannam/we-share-wish-hair:latest
platform: linux/amd64

redis:
build:
context: ./
dockerfile: redis/Dockerfile-redis
image: eunchannam/we-share-wish-hair:redis
dockerfile: ../Dockerfile-redis
image: eunchannam/we-share-wish-hair:redis
platform: linux/amd64

0 comments on commit 81a57cd

Please sign in to comment.