Rework GitHub Release and Docker Actions#4769
Conversation
The universal goal is to make those actions available in forks, remove some cumbersome scripts and unnecessary steps, enable arm64 build and upload to ghcr.io as an alternative container registry. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
The base image tomcat:10.1.40-jdk21 is actually based on Ubuntu noble but we are still using Ubuntu jammy builder and perforce apt source. Fix by making Ubuntu version explict everywhere. helix-p4d is only available on 386/amd64, filter it out on other architectures. maintainer/source/description labels are only supposed to be set on official builds, which is already done by docker/metadata-action GitHub action, so remove them here. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
|
Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application. When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated. If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public. |
|
OCA already signed, seems pending approval. |
|
Note that Docherhub's repository is set via It should be set at: https://github.com/oracle/opengrok/settings/variables/actions |
|
Thank you for signing the OCA. |
|
Hi @vladak, This PR is ready. I really wish to see an official arm64 docker release :-) |
The universal goal is to make those actions available in forks, remove some cumbersome scripts and unnecessary steps, enable arm64 build and upload to ghcr.io as an alternative container registry.
Docker pushing/tagging policy is remaining unchanged.
For an example release run:
https://github.com/FlyGoat/opengrok/actions/runs/14887002399 (Triggered by release 99.1.3)
Which produced:
https://github.com/FlyGoat/opengrok/pkgs/container/opengrok
and
https://hub.docker.com/r/flygoat/opengrok
Also fixes #3948.
Thanks!