Skip to content

[feat] Dockerfile 추가 #166

[feat] Dockerfile 추가

[feat] Dockerfile 추가 #166

Workflow file for this run

name: Build
on:
pull_request:
branches: [ "develop" ]
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Gradle Caching
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- run: touch ./src/main/resources/application-secret.yaml
- run: echo "${{ secrets.DB_SECRET }}" > ./src/main/resources/application-secret.yaml
- run: cat ./src/main/resources/application-secret.yaml
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
shell: bash
- name: Build and no Test
run: ./gradlew build -x test