|
|
|
@ -48,11 +48,13 @@ jobs:
|
|
|
|
|
echo "DOCKER_USERNAME=${{ secrets.DOCKERHUB_USER }}" >> $GITHUB_ENV |
|
|
|
|
echo "DOCKER_PASSWORD=${{ secrets.DOCKERHUB_TOKEN }}" >> $GITHUB_ENV |
|
|
|
|
echo "HUB=apache" >> $GITHUB_ENV |
|
|
|
|
echo "DOCKER_TAG=${{ github.event.release.tag_name }}" >> $GITHUB_ENV |
|
|
|
|
else |
|
|
|
|
echo "DOCKER_REGISTRY=ghcr.io/apache/dolphinscheduler" >> $GITHUB_ENV |
|
|
|
|
echo "DOCKER_USERNAME=${{ github.actor }}" >> $GITHUB_ENV |
|
|
|
|
echo "DOCKER_PASSWORD=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV |
|
|
|
|
echo "HUB=ghcr.io/apache/dolphinscheduler" >> $GITHUB_ENV |
|
|
|
|
echo "DOCKER_TAG=${{ github.sha }}" >> $GITHUB_ENV |
|
|
|
|
fi |
|
|
|
|
- name: Log in to the Container registry |
|
|
|
|
uses: docker/login-action@v2 |
|
|
|
@ -71,6 +73,6 @@ jobs:
|
|
|
|
|
-Dmaven.javadoc.skip \ |
|
|
|
|
-Dcheckstyle.skip=true \ |
|
|
|
|
-Dmaven.deploy.skip \ |
|
|
|
|
-Ddocker.tag=${{ github.sha }} \ |
|
|
|
|
-Ddocker.tag=${{ env.DOCKER_TAG }} \ |
|
|
|
|
-Ddocker.hub=${{ env.HUB }} \ |
|
|
|
|
-Pdocker,release |
|
|
|
|