File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1010 CONTAINER_PORT : 8080 # 컨테이너 내부 포트(스프링부트)
1111 EC2_INSTANCE_TAG_NAME : team12-ec2-1 # 배포 대상 EC2 Name 태그
1212 DOCKER_NETWORK : common # 도커 네트워크
13- BACKEND_DIR : . # Dockerfile 위치
13+ BACKEND_DIR : .
1414
1515concurrency :
1616 group : ${{ github.workflow }}-${{ github.ref }} # 커밋이 짧은 시간안에 몰려도 최신 커밋에 대해서만 액션이 수행되도록
8686 DOT_ENV : ${{ secrets.DOT_ENV }}
8787 run : |
8888 # .env가 없으면 빌드 캐시가 매번 깨질 수 있으므로 항상 생성
89- echo "DOT_ENV" > .env
89+ echo "$ DOT_ENV" > .env
9090
9191 - name : Docker Buildx 설치
9292 uses : docker/setup-buildx-action@v3
@@ -110,7 +110,7 @@ jobs:
110110 - name : 빌드 앤 푸시
111111 uses : docker/build-push-action@v6
112112 with :
113- context : ${{ env.BACKEND_DIR }}
113+ context : .
114114 push : true
115115 cache-from : type=gha
116116 cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments