Skip to content

Commit

Permalink
Update deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dudgns3443 authored Dec 12, 2024
1 parent 60d1034 commit a16a166
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,23 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}

# - name: JDK 17 설치
# uses: actions/setup-java@v4
# with:
# distribution: 'oracle'
# java-version: '17'
# cache: 'gradle'
- name: JDK 17 설치
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '17'
cache: 'gradle'

- name: Gradle 명령 실행 권한 부여
run: chmod +x ./gradlew
shell: bash

- name: Gradle로 프로젝트 Build
run: ./gradlew build

# - name: ECR login
# run: aws ecr get-login-password | docker login --username AWS --password-stdin 534420079206.dkr.ecr.ap-northeast-2.amazonaws.com

# - name: Gradle 명령 실행 권한 부여
# run: chmod +x ./gradlew
# shell: bash

# - name: Gradle로 프로젝트 Build
# run: ./gradlew build -x test

# - name: Container build
# run: docker build -t ${{ env.ECR_URL }} .
Expand Down

0 comments on commit a16a166

Please sign in to comment.