File tree 2 files changed +16
-8
lines changed
2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 34
34
- name : Set up Docker Buildx
35
35
uses : docker/setup-buildx-action@v2
36
36
37
- - name : Log in to Docker Hub
38
- uses : docker/login-action@v2
39
- with :
40
- username : datasqrl
41
- password : ${{ secrets.DOCKER_PASSWORD }}
42
-
43
37
- name : Pull base images
44
38
run : |
45
39
docker pull alpine:3
@@ -63,11 +57,16 @@ jobs:
63
57
64
58
- name : Run Maven Build
65
59
run : |
66
- mvn -B clean install -P${{ matrix.FLINK_PROFILE }} -Dsqrl.version=${{ matrix.SQRL_VERSION }}
60
+ mvn -B clean deploy -P${{ matrix.FLINK_PROFILE }} -Dsqrl.version=${{ matrix.SQRL_VERSION }}
61
+
62
+ - name : Log in to Docker Hub
63
+ uses : docker/login-action@v2
64
+ with :
65
+ username : datasqrl
66
+ password : ${{ secrets.DOCKER_PASSWORD }}
67
67
68
68
- name : Build Docker image
69
69
run : |
70
70
DOCKER_TAG=$DOCKER_REPO:${{ env.VERSION }}-sqrlv${{ matrix.SQRL_VERSION }}-${{ matrix.FLINK_PROFILE }}
71
- ls -lha
72
71
docker build --build-arg SQRL_VERSION=${{ matrix.SQRL_VERSION }} --build-arg RUNNER_VERSION=${{ env.VERSION }} -t $DOCKER_TAG .
73
72
docker push $DOCKER_TAG
Original file line number Diff line number Diff line change 24
24
<version >1.0.0-SNAPSHOT</version >
25
25
<inceptionYear >2024</inceptionYear >
26
26
27
+ <distributionManagement >
28
+ <snapshotRepository >
29
+ <id >github</id >
30
+ <url >https://maven.pkg.github.com/DataSQRL/acorn-java</url >
31
+ </snapshotRepository >
32
+ </distributionManagement >
33
+
27
34
<properties >
28
35
<gcf .skipInstallHooks>true</gcf .skipInstallHooks>
29
36
241
248
<phase >package</phase >
242
249
<configuration >
243
250
<finalName >flink-jar-runner.uber</finalName >
251
+ <shadedArtifactAttached >true</shadedArtifactAttached >
252
+ <shadedClassifierName >sqrlv${sqrl.version} -flink${flink.version} </shadedClassifierName >
244
253
<artifactSet >
245
254
<excludes >
246
255
<exclude >org.apache.flink:flink-shaded-force-shading</exclude >
You can’t perform that action at this time.
0 commit comments