File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 55 push :
66 branches :
77 - main
8- - develop
8+ - dev
99
1010jobs :
1111 # 개발 환경
1212 build-and-push-dev :
1313 runs-on : ubuntu-latest
14- if : github.ref == 'refs/heads/main '
14+ if : github.ref == 'refs/heads/dev '
1515 environment : development
1616 steps :
1717 -
6161 # 운영 환경
6262 build-and-push-prod :
6363 runs-on : ubuntu-latest
64- if : github.ref == 'refs/heads/develop '
64+ if : github.ref == 'refs/heads/main '
6565 environment : production
6666 steps :
6767 -
Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ RUN apt-get update && apt-get install -y \
1212 && rm -rf /var/lib/apt/lists/*
1313
1414# 환경별 변수
15+ ENV POSTGRESQL_POSTGRES_PASSWORD
16+ ENV POSTGRES_DB
17+ ENV POSTGRES_PASSWORD
18+ ENV POSTGRES_USER
19+ ENV TZ
20+
1521ARG PROFILE=local
1622
1723# 설정 파일 복사
Original file line number Diff line number Diff line change 1- # PostgreSQL 인프라 관리 프로젝트
1+ # PostgreSQL 인프라 관리 프로젝트
2+ # Github Acions 추가
You can’t perform that action at this time.
0 commit comments