Skip to content

git ignore

git ignore #3

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: production application file setting
run: |
mkdir -p ./src/main/resources
touch ./src/main/resources/application.yml
echo ${{ secrets.PRODUCTION_APPLICATION_YML }} | base64 --decode >> ./src/main/resources/application.yml
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Init with Gradle
uses: gradle/gradle-build-action@v2
- run: gradle init
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.1.1
arguments: build -x test