Refactor/issue/108 : 이미지 처리 작업을 임의의 외부 서버로 대체하기 - 수정 (#114) #77
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
name: Java Application CI with Gradle | |
on: | |
push: | |
branches: | |
- '**' | |
- '!develop' | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
localstack: | |
image: localstack/localstack | |
env: | |
SERVICES: s3 | |
DEFAULT_REGION: us-east-1 | |
DATA_DIR: /tmp/localstack/data | |
AWS_ACCESS_KEY_ID: access-key | |
AWS_SECRET_ACCESS_KEY: secret-key | |
AWS_REGION: us-east-1 | |
ports: | |
- 4566:4566 | |
options: >- | |
--name=localstack | |
--health-cmd="curl -sS 127.0.0.1:4566 || exit 1" | |
--health-interval=5s | |
--health-timeout=5s | |
--health-retries=3 | |
steps: | |
- name: Check Out | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.SUBMODULE_YML_CONFIG }} | |
submodules: true | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'corretto' | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 | |
with: | |
arguments: build |