-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (35 loc) · 1.25 KB
/
package-platform-java.yaml
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
36
on:
workflow_dispatch:
push:
paths:
- 'executable-operator/executable-java/**'
- 'executable-operator/executable-basic/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build the parent
run:
mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -f executable-operator/pom.xml
- name: Build the basic
run:
mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -f executable-operator/executable-basic/pom.xml
- name: Build the java
run:
mvn clean package -DskipTests=true -Dmaven.javadoc.skip=true -B -V -f executable-operator/executable-java/pom.xml
- name: Publish Docker
uses: elgohr/Publish-Docker-Github-Action@c
with:
# The name of the image you would like to push
name: edwardtang/executable-java
# The login username for the registry
username: edwardtang
# The login password for the registry
password: daslab_system_group
dockerfile: executable-operator/executable-java/Dockerfile
tag_names: 'latest'