File tree Expand file tree Collapse file tree 4 files changed +22
-3
lines changed Expand file tree Collapse file tree 4 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Build x86 Docker Image
2+ on :
3+ pull_request :
4+ branches :
5+ - master
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v3
13+ with :
14+ fetch-depth : 0
15+ - name : Build x86 Image
16+ run :
17+ make image
Original file line number Diff line number Diff line change 33 push :
44 branches :
55 - ' **'
6- pull_request :
7- branches :
8- - master
96
107jobs :
118 build :
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ WORKDIR /workspace/app
55ENV JAVA_OPTS="-Djdk.lang.Process.launchMechanism=vfork"
66
77COPY . /workspace/app
8+ RUN apt-get -y update && apt-get -y install git
89RUN ./gradlew clean build -x test
910RUN mkdir -p build/dependency && cd build/dependency; jar -xf ../libs/*[^p][^l][^a][^i][^n].jar
1011
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ package: clean validatedocs build
1616build :
1717 ./gradlew build -x test
1818
19+ .PHONY : image
20+ image :
21+ docker build -t aerospike-rest-gateway .
22+
1923.PHONY : run
2024run :
2125 ./gradlew bootRun
You can’t perform that action at this time.
0 commit comments