jbonofre commented on code in PR #1593:
URL: https://github.com/apache/polaris/pull/1593#discussion_r2095201565
##########
.github/workflows/nightly.yml:
##########
@@ -60,3 +60,19 @@ jobs:
env:
ORG_GRADLE_PROJECT_apacheUsername: ${{ secrets.NEXUS_USER }}
ORG_GRADLE_PROJECT_apachePassword: ${{ secrets.NEXUS_PW }}
+ - name: Docker login
+ uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a #v3
+ with:
+ username: ${{ secrets.DOCKERHUB_USER }}
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
+ - name: Build Docker images
+ run: |
+ ./gradlew \
+ :polaris-quarkus-server:assemble \
+ :polaris-quarkus-server:quarkusAppPartsBuild --rerun \
+ :polaris-quarkus-admin:assemble \
+ :polaris-quarkus-admin:quarkusAppPartsBuild --rerun \
+ -Dquarkus.container-image.build=true \
+ - name: Push Docker images to Docker HUB
+ run: |
+ docker push apache/polaris
Review Comment:
@adutra Thanks for the suggestion. I was planning to push only the server
image, but it makes sense to push both. Then, it makes sense to use different
docker image name. I will update this PR accordingly. Thanks !
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]