-
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.
* fix(pages): QA 오류 수정 * feat(pages): 관리자가 수정지시사항 확인 여부를 수정할 수 있도록 변경 * fix: 무한 요청 오류 수정 * fix: showNotificationSuccess 위치 변경 * fix: (chore) issn 옵셔널로 변경후 undefined여서 생기는 오류 수정 * fix: 학생등록 폼 논문제목/연락처/이메일 옵셔널 변경 및 학과로 필터링 제거 * fix: 교수 등록 폼 수정 및 학생/교수 로그인하기 기능 오류 수정 디벨롭 브랜치와 머지, #118 브랜치에서 이어서 작업 (메인에서 작업해서..ㅠㅠ) * fix: 본심 전환 모달 오류 수정 * chore: 포맷팅 * fix: 심사결과페이지 심사 중에도 확인 가능하도록 수정 * fix: 논문투고 페이지 예심/본심 뱃지 추가 * fix: 논문투고 페이지 일정 예심/본심에 따라 불러오도록 수정 * fix: 학생 심사 결과 페이지 본심 정보도 불러오도록 수정 * fix: AchievementForm isAdmin 수정 * fix: 논문정보 수정 api 스펠링 변경 저희쪽에서 변경하는게 빠를 것 같아서 수정하였습니다. * fix: 심사 정보 수정 심사의견 및 파일 업로드가능하도록 수정 * fix: 심사의견/심사의견파일 둘중 하나만 선택하도록 수정 * feat: 교수/학생 일괄 삭제 기능 추가 * feat: main workflow 추가 * chore: 주석달기 * chore: 코드 중복 제거 * fix: 테이블 헤더 수정 * fix: 로그인 안내문구 수정 * chore: 서명 미업로드 설명 추가 --------- Co-authored-by: lhwdev <[email protected]>
- Loading branch information
Showing
37 changed files
with
680 additions
and
303 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 |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: Docker Image CI | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
env: | ||
dockerimage_tag: ${{ github.sha }} | ||
dockerimage_name: harbor.k8s.scg.skku.ac.kr/library/ice-gs-thesis-fe | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
id-token: write | ||
steps: | ||
- name: --------------- Code Repo --------------- | ||
run: echo "Code Repo" | ||
- name: Code Repo 불러오기 | ||
uses: actions/checkout@v4 | ||
- name: Docker 준비(1/4) - 메타데이터 생성 | ||
id: meta | ||
uses: docker/[email protected] | ||
with: | ||
images: | | ||
${{ env.dockerimage_name }} | ||
tags: | | ||
${{ env.dockerimage_tag }} | ||
latest | ||
flavor: | | ||
latest=true | ||
- name: Docker 준비(2/4) - QEMU 설정 | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Docker 준비(3/4) - buildx 설정 | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Docker 준비(4/4) - 레지스트리 로그인 | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ${{ secrets.HARBOR_REGISTRY }} | ||
username: ${{ secrets.HARBOR_USERNAME }} | ||
password: ${{ secrets.HARBOR_PASSWORD }} | ||
- name: env 파일 생성 | ||
run: | | ||
echo NEXT_PUBLIC_API_ENDPOINT=${{secrets.API_ENDPOINT_PROD}} >> .env | ||
cat .env | ||
- name: Docker 이미지 빌드+푸시 | ||
id: build-and-push | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
file: ./Dockerfile | ||
platforms: linux/amd64 | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
provenance: false | ||
- name: --------------- Config Repo --------------- | ||
run: echo "[Config Repo]" | ||
- name: Config Repo 불러오기 | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: SystemConsultantGroup/ice-grad-thesis-config | ||
ref: main | ||
token: ${{ secrets.ACTION_TOKEN }} | ||
path: ice-grad-thesis-config | ||
- name: Kustomize 준비 | ||
uses: imranismail/[email protected] | ||
- name: Config Repo 이미지 값 업데이트 (Kustomize) | ||
run: | | ||
cd ice-grad-thesis-config/overlays/prod/fe/ | ||
kustomize edit set image ${{ env.dockerimage_name }}:${{ env.dockerimage_tag }} | ||
cat kustomization.yaml | ||
- name: Config Repo 변경사항 푸시 | ||
run: | | ||
cd ice-grad-thesis-config | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "hynseok" | ||
git commit -am "Update image tag" | ||
git push -u origin main | ||
- name: --------------- Clean Up --------------- | ||
run: echo "Clean Up" |
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 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
Oops, something went wrong.