You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2023/01/31 11:41:45 UTC

[skywalking-java] 01/01: Fix wrong JDK version when publish Docker snapshot

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch docker
in repository https://gitbox.apache.org/repos/asf/skywalking-java.git

commit 9da5982df88486c2d6c802bb345eee38cb221581
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Tue Jan 31 19:41:36 2023 +0800

    Fix wrong JDK version when publish Docker snapshot
---
 .github/workflows/publish-docker.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml
index ad6cb921a5..ba088e3c89 100644
--- a/.github/workflows/publish-docker.yaml
+++ b/.github/workflows/publish-docker.yaml
@@ -20,6 +20,7 @@ on:
   push:
     branches:
       - main
+      - docker
 
 env:
   SKIP_TEST: true
@@ -41,6 +42,10 @@ jobs:
           path: ~/.m2/repository
           key: ${{ runner.os }}-maven-publish-docker-${{ hashFiles('**/pom.xml') }}
           restore-keys: ${{ runner.os }}-maven-publish-docker-
+      - uses: actions/setup-java@v2
+        with:
+          distribution: temurin
+          java-version: 17
       - name: Build Agent
         run: make build
       - uses: actions/upload-artifact@v2