File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- name : Publish images
1+ name : Publish
22on :
33# workflow_dispatch: # todo: requires to be merged to default branch to work
44 push :
1313 java-version : 11
1414 cache : sbt
1515 - uses : sbt/setup-sbt@v1
16+ - name : Build and publish maven artifacts
17+ run : sbt "+clean; +publish"
1618 - name : Setup buildx builder
1719 uses : docker/setup-buildx-action@v3
1820 with :
Original file line number Diff line number Diff line change 1- ARG FLINK_VERSION
1+ ARG FLINK_VERSION= "invalid"
22
33FROM flink:${FLINK_VERSION}-scala_2.12-java17
44
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -e
3- sbt -Dsbt.supershell=false " show version"
4- sbt -Dsbt.supershell=false " show version" | grep " info" | tail -1
5- sbt -Dsbt.supershell=false " show version" | grep " info" | tail -1 | awk ' {print $2}'
3+
64VERSION=$( sbt --no-colors -Dsbt.supershell=false " show version" | grep " info" | tail -1 | awk ' {print $2}' )
75FLINK_VERSION=$( sbt --no-colors -Dsbt.supershell=false " show flinkV" | grep " info" | tail -1 | awk ' {print $2}' )
86echo " FLINK_SCALA_VERSION: ${VERSION} "
1412 OUTPUT_TYPE=" docker"
1513fi
1614
17- sbt " ++ clean;+ +assembly"
15+ sbt " +clean; +assembly"
1816
1917IMAGE_TAG=" ${VERSION} -flink${FLINK_VERSION} -scala_2.12"
2018echo " Building Docker image with version: $IMAGE_TAG "
You can’t perform that action at this time.
0 commit comments