@@ -105,7 +105,7 @@ jobs:
105105 buildkitd-flags : --debug
106106
107107 # Build the Docker image locally for testing
108- - name : Build Docker image for cbdb-build-${{ matrix.platform }}
108+ - name : Build Docker image for incubator-cloudberry: cbdb-build-${{ matrix.platform }}-latest
109109 if : ${{ steps.platform-filter.outputs[matrix.platform] == 'true' }}
110110 uses : docker/build-push-action@v6
111111 with :
@@ -114,11 +114,11 @@ jobs:
114114 load : true # Load into local Docker daemon for testing
115115 # Use caching for faster builds
116116 cache-from : |
117- type=registry,ref=${{ secrets.DOCKERHUB_USER }}/ cbdb-build-${{ matrix.platform }}: latest
117+ type=registry,ref=apache/incubator-cloudberry: cbdb-build-${{ matrix.platform }}- latest
118118 type=gha,scope=docker-cbdb-build-${{ matrix.platform }}
119119 cache-to : type=gha,mode=max,scope=docker-cbdb-build-${{ matrix.platform }}
120120 tags : |
121- cbdb-build-${{ matrix.platform }}: latest
121+ incubator-cloudberry: cbdb-build-${{ matrix.platform }}- latest
122122 # Add metadata labels for better image tracking
123123 labels : |
124124 org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
@@ -139,7 +139,7 @@ jobs:
139139 docker run -d \
140140 -h cdw \
141141 --name cbdb-build-${{ matrix.platform }}-test \
142- cbdb-build-${{ matrix.platform }}: latest \
142+ incubator-cloudberry: cbdb-build-${{ matrix.platform }}- latest \
143143 bash \
144144 -c "sleep 30"
145145 docker exec cbdb-build-${{ matrix.platform }}-test pytest \
@@ -171,11 +171,11 @@ jobs:
171171 context : ./images/docker/cbdb/build/${{ matrix.platform }}
172172 push : true
173173 cache-from : |
174- type=registry,ref=${{ secrets.DOCKERHUB_USER }}/ cbdb-build-${{ matrix.platform }}: latest
174+ type=registry,ref=apache/incubator-cloudberry: cbdb-build-${{ matrix.platform }}- latest
175175 type=gha,scope=docker-cbdb-build-${{ matrix.platform }}
176176 tags : |
177- ${{ secrets.DOCKERHUB_USER }} /incubator-cloudberry:cbdb-build-${{ matrix.platform }}-latest
178- ${{ secrets.DOCKERHUB_USER }} /incubator-cloudberry:cbdb-build-${{ matrix.platform }}-${{ steps.version.outputs.BUILD_DATE }}-${{ steps.version.outputs.SHA_SHORT }}
177+ apache /incubator-cloudberry:cbdb-build-${{ matrix.platform }}-latest
178+ apache /incubator-cloudberry:cbdb-build-${{ matrix.platform }}-${{ steps.version.outputs.BUILD_DATE }}-${{ steps.version.outputs.SHA_SHORT }}
179179 labels : |
180180 org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
181181 org.opencontainers.image.revision=${{ github.sha }}
@@ -201,7 +201,7 @@ jobs:
201201
202202 if [[ "${{ steps.test.outcome }}" == "success" && "${{ steps.platform-filter.outputs[matrix.platform] }}" == "true" ]]; then
203203 echo "#### 🐳 Docker Image" >> $GITHUB_STEP_SUMMARY
204- echo "- **Repository**: [\`${{ secrets.DOCKERHUB_USER }}/cbdb-build -${{ matrix.platform }}\`](https://hub.docker.com/r/${{ secrets.DOCKERHUB_USER }}/cbdb-build -${{ matrix.platform }})" >> $GITHUB_STEP_SUMMARY
204+ echo "- **Repository**: [\`apache/incubator-cloudberry:cbdb-build- ${{ matrix.platform }}-${{ steps.version.outputs.BUILD_DATE }} -${{ steps.version.outputs.SHA_SHORT }}\`](https://hub.docker.com/r/apache/incubator-cloudberry:cbdb-build- ${{ matrix.platform }}-${{ steps.version.outputs.BUILD_DATE }} -${{ steps.version.outputs.SHA_SHORT }})" >> $GITHUB_STEP_SUMMARY
205205 echo "- **Tags Pushed**:" >> $GITHUB_STEP_SUMMARY
206206 echo " - \`latest\`" >> $GITHUB_STEP_SUMMARY
207207 echo " - \`${{ steps.version.outputs.BUILD_DATE }}-${{ steps.version.outputs.SHA_SHORT }}\`" >> $GITHUB_STEP_SUMMARY
@@ -210,9 +210,9 @@ jobs:
210210 echo "#### 📋 Quick Reference" >> $GITHUB_STEP_SUMMARY
211211 echo "\`\`\`bash" >> $GITHUB_STEP_SUMMARY
212212 echo "# Pull the image" >> $GITHUB_STEP_SUMMARY
213- echo "docker pull ${{ secrets.DOCKERHUB_USER }}/ cbdb-build-${{ matrix.platform }}: ${{ steps.version.outputs.BUILD_DATE }}-${{ steps.version.outputs.SHA_SHORT }}" >> $GITHUB_STEP_SUMMARY
213+ echo "docker pull apache/incubator-cloudberry: cbdb-build-${{ matrix.platform }}- ${{ steps.version.outputs.BUILD_DATE }}-${{ steps.version.outputs.SHA_SHORT }}" >> $GITHUB_STEP_SUMMARY
214214 echo "" >> $GITHUB_STEP_SUMMARY
215215 echo "# View image details" >> $GITHUB_STEP_SUMMARY
216- echo "docker inspect ${{ secrets.DOCKERHUB_USER }}/ cbdb-build-${{ matrix.platform }}: ${{ steps.version.outputs.BUILD_DATE }}-${{ steps.version.outputs.SHA_SHORT }}" >> $GITHUB_STEP_SUMMARY
216+ echo "docker inspect apache/incubator-cloudberry: cbdb-build-${{ matrix.platform }}- ${{ steps.version.outputs.BUILD_DATE }}-${{ steps.version.outputs.SHA_SHORT }}" >> $GITHUB_STEP_SUMMARY
217217 echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
218218 fi
0 commit comments