Skip to content

Commit

Permalink
feat: CI workflow 작성 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Libienz authored Jul 15, 2024
1 parent 8556ca4 commit dfedd5c
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/be-dev-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: BE-DEV-CI

on:
push:
branches: [ develop/be ]

jobs:
build:
runs-on: ubuntu-latest

defaults:
run:
shell: bash
working-directory: ./backend

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew clean build

- name: Build the Docker image
run: docker build -f ./backend/Dockerfile --no-cache -t touroot/touroot-api .

0 comments on commit dfedd5c

Please sign in to comment.