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/dolphinscheduler.git
The following commit(s) were added to refs/heads/docker by this push:
new 5adc00353c Update publish-docker.yaml
5adc00353c is described below
commit 5adc00353c7e4e55ea292321732bc18f6fd906ea
Author: kezhenxu94 <[email protected]>
AuthorDate: Mon Feb 27 08:09:20 2023 +0800
Update publish-docker.yaml
---
.github/workflows/publish-docker.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/publish-docker.yaml
b/.github/workflows/publish-docker.yaml
index 1c9cbb714e..7f28b5d20f 100644
--- a/.github/workflows/publish-docker.yaml
+++ b/.github/workflows/publish-docker.yaml
@@ -45,12 +45,10 @@ jobs:
- name: Set environment variables
run: |
if [[ ${{ github.event_name }} != "release" ]]; then
- echo "HUB=apache" >> $GITHUB_ENV
- echo "DOCKER_REGISTRY=docker.io" >> $GITHUB_ENV
+ echo "DOCKER_REGISTRY=docker.io/apache" >> $GITHUB_ENV
echo "DOCKER_USERNAME=${{ secrets.DOCKERHUB_USER }}" >> $GITHUB_ENV
echo "DOCKER_PASSWORD=${{ secrets.DOCKERHUB_TOKEN }}" >>
$GITHUB_ENV
else
- echo "HUB=ghcr.io/apache/dolphinscheduler" >> $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
@@ -66,6 +64,8 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push docker images
+ env:
+ HUB: ${{ env.DOCKER_REGISTRY }}
run: |
./mvnw -B clean deploy \
-Dmaven.test.skip \