adutra commented on code in PR #1593:
URL: https://github.com/apache/polaris/pull/1593#discussion_r2204598881
##########
.github/workflows/nightly.yml:
##########
@@ -61,3 +61,27 @@ jobs:
env:
ORG_GRADLE_PROJECT_apacheUsername: ${{ secrets.NEXUS_USER }}
ORG_GRADLE_PROJECT_apachePassword: ${{ secrets.NEXUS_PW }}
+ - name: Publish Server Docker nightly image
+ run: |
+ ./gradlew \
+ :polaris-server:assemble \
+ :polaris-server:quarkusAppPartsBuild --rerun \
+ -Dquarkus.container-image.build=true \
+ -Dquarkus.container-image.push=true \
+ -Dquarkus.container-image.name=polaris \
+ -Dquarkus.container-image.tag=$(date +%Y%m%d) \
+ -Dquarkus.container-image.additional-tags="" \
Review Comment:
Reading Renovate's [doc](https://docs.renovatebot.com/docker), it seems it
is smart enough to never update a `x.y.z` tag to a `nightly` tag:
> If the image tag in use "looks" like a version (e.g. myimage:1,
myimage:1.1, myimage:1.1.0, myimage:1-onbuild) then Renovate checks the Docker
registry for upgrades (e.g. from myimage:1.1.0 to myimage:1.2.0)
The above seems to imply that the `nightly` tag would be ignored since it
doesn't "look like" a version.
But I didn't verify if that's indeed the case.
--
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]