Skip to content

Commit 7f76159

Browse files
authored
support historically tagging conventions in release task (#147)
1 parent cf6e84a commit 7f76159

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ jobs:
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
@@ -99,4 +98,9 @@ jobs:
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

0 commit comments

Comments
 (0)