File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7777
7878 # Conditionally publish runtime images to DockerHub
7979 # Important: naming convention for release tags is runtime@version
80- # For this repository: 8@X.Y.Z or 8actionloop@X.Y.Z
8180 - name : Docker Login
8281 if : ${{ env.PUSH_NIGHTLY == 'true' || env.PUSH_RELEASE == 'true' }}
8382 uses : docker/login-action@v2
9998 run : |
10099 RUNTIME_VERSION=${GITHUB_REF_NAME%@*}
101100 IMAGE_TAG=${GITHUB_REF_NAME##*@}
102- ./gradlew :core:java${RUNTIME_VERSION}Action:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=$IMAGE_TAG
101+ if [ ${RUNTIME_VERSION} == "8" ]; then
102+ RUNTIME="java8"
103+ elif [ ${RUNTIME_VERSION} == "8a" ]; then
104+ RUNTIME="java8actionloop"
105+ fi
106+ ./gradlew :core:${RUNTIME}Action:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=$IMAGE_TAG
You can’t perform that action at this time.
0 commit comments