opengrok icon indicating copy to clipboard operation
opengrok copied to clipboard

Rework GitHub Release and Docker Actions

Open FlyGoat opened this issue 7 months ago • 5 comments

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!

FlyGoat avatar May 08 '25 10:05 FlyGoat

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA). The following contributors of this PR have not signed the 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.

FlyGoat avatar May 08 '25 10:05 FlyGoat

Note that Docherhub's repository is set via DOCKER_SLUG repository variable. For this repo please set it to opengrok/docker before merge.

It should be set at: https://github.com/oracle/opengrok/settings/variables/actions

See also: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables

FlyGoat avatar May 08 '25 10:05 FlyGoat

Thank you for signing the OCA.

Hi @vladak, This PR is ready.

I really wish to see an official arm64 docker release :-)

FlyGoat avatar May 15 '25 09:05 FlyGoat