-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 1.09 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# name: CI
# on:
# push:
# branches: [ master ]
# jobs:
# # push-image:
# # name: Push Docker image
# # runs-on: ubuntu-latest
# # steps:
# # - uses: actions/checkout@v2
# # - name: Set up JDK 17
# # uses: actions/setup-java@v2
# # with:
# # java-version: '17'
# # distribution: 'temurin'
# # - name: Build Image with Maven
# # run: |
# # cd limon-server
# # mvn -B -Dmaven.test.skip=true spring-boot:build-image -Ddocker.image-name=aircjm/limon:latest -Ddocker.username=${{ secrets.DOCKER_USERNAME }} -Ddocker.password=${{ secrets.DOCKER_PASSWORD }}
# push-native-image:
# name: Push Docker native image
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Set up JDK 17
# uses: actions/setup-java@v2
# with:
# java-version: '17'
# distribution: 'temurin'
# - name: Build Image with Maven
# run: |
# cd limon-server
# mvn -B -Dmaven.test.skip=true -Pnative spring-boot:build-image