kezhenxu94 2 years ago
parent
commit
9668c84d30
1 changed files with 1 additions and 5 deletions
  1. 1 5
      .github/workflows/publish-helm-chart.yaml

+ 1 - 5
.github/workflows/publish-helm-chart.yaml

@@ -24,9 +24,6 @@ on:
     types:
       - released
 
-env:
-  HUB: ghcr.io/apache/dolphinscheduler
-
 jobs:
   build:
     if: github.repository == 'apache/dolphinscheduler'
@@ -39,7 +36,6 @@ jobs:
       - uses: actions/checkout@v2
       - name: Set environment variables
         run: |
-          # TODO
           if [[ ${{ github.event_name }} == "release" ]]; then
             echo "HUB=registry-1.docker.io/apache" >> $GITHUB_ENV
             echo "DOCKER_REGISTRY=docker.io" >> $GITHUB_ENV
@@ -47,7 +43,7 @@ jobs:
             echo "DOCKER_PASSWORD=${{ secrets.DOCKERHUB_TOKEN }}" >> $GITHUB_ENV
           else
             echo "HUB=ghcr.io/apache/dolphinscheduler" >> $GITHUB_ENV
-            echo "DOCKER_REGISTRY=c" >> $GITHUB_ENV
+            echo "DOCKER_REGISTRY=ghcr.io/apache/dolphinscheduler" >> $GITHUB_ENV
             echo "DOCKER_USERNAME=${{ github.actor }}" >> $GITHUB_ENV
             echo "DOCKER_PASSWORD=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
           fi