Skip to content

Merge pull request #19 from vincentfree/snyk-upgrade-1e23780cd754ed7c… #82

Merge pull request #19 from vincentfree/snyk-upgrade-1e23780cd754ed7c…

Merge pull request #19 from vincentfree/snyk-upgrade-1e23780cd754ed7c… #82

Workflow file for this run

name: Kotlin CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
app_folder: [reactive-rest-app, delay-client] # , spring-rest-service, reactive-spring-rest-service
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn -B -pl com.ing.cerebro.workshop:reactive-rest-app
-pl com.ing.cerebro.workshop:delay-client
-am package --file pom.xml
- uses: actions/upload-artifact@v1
with:
name: ${{ matrix.app_folder }}
path: ${{ matrix.app_folder }}/target/*.jar
- name: Build the Docker image
run: docker build . --file ${{ matrix.app_folder }}/Dockerfile --tag ${{ matrix.app_folder }}:$(date +%s)