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.git


The following commit(s) were added to refs/heads/docker by this push:
     new 2d4ab0f9ce Update publish-docker.yaml
2d4ab0f9ce is described below

commit 2d4ab0f9ce1b4bf846da87824f8f28e20c3457d6
Author: kezhenxu94 <[email protected]>
AuthorDate: Wed Mar 8 20:10:07 2023 +0800

    Update publish-docker.yaml
---
 .github/workflows/publish-docker.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/publish-docker.yaml 
b/.github/workflows/publish-docker.yaml
index cc21a2dbb5..dbbdeff0ff 100644
--- a/.github/workflows/publish-docker.yaml
+++ b/.github/workflows/publish-docker.yaml
@@ -46,7 +46,7 @@ jobs:
             ${{ runner.os }}-maven-
       - name: Set environment variables
         run: |
-          if [[ ${{ github.event_name }} != "release" ]]; then
+          if [[ ${{ github.event_name }} == "release" ]]; then
             echo "HUB=apache" >> $GITHUB_ENV
             echo "DOCKER_REGISTRY=docker.io" >> $GITHUB_ENV
             echo "DOCKER_USERNAME=${{ secrets.DOCKERHUB_USER }}" >> $GITHUB_ENV

Reply via email to