Skip to content

dev to master (#461) #69

dev to master (#461)

dev to master (#461) #69

name: Mash-Up Member Real CI
on:
push:
branches: [ master ]
paths:
- "mashup-member/**"
- "mashup-domain/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
cache: 'gradle'
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.PROD_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }}
aws-region: ap-northeast-2
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- name: Build Jib
run: |
chmod +x gradlew
./gradlew :mashup-member:jib -PbuildPhase=production -PencryptorPassword=${{ secrets.ENCRYPTOR_PASSWORD }}