-
Notifications
You must be signed in to change notification settings - Fork 242
Add Docker images SNAPSHOT on Docker HUB (nightly) #1593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is only pushing the server image, not the admin tool image. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @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 ! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @adutra I'm not sure using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm fine either way, as long as you don't use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. By the way, in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm not really :-) we shouldn't mix different binaries under the same image name. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, so for now let's push only server image ( There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm fine with pushing just the server for now. If the process to create There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's start a discussion on the dev mailing list. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dangling
\
here