Skip to content
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

Create example PR for changes to docker build scripts #168

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

vmcj
Copy link
Member

@vmcj vmcj commented Jan 12, 2024

Those will be stored in the registry of the user/organisation which forked or in our GitHub docker registry if this branch is under the domjudge organization.

@vmcj vmcj force-pushed the packaging-docker-container branch 3 times, most recently from f4adb83 to d3cb583 Compare January 12, 2024 15:56
@vmcj vmcj requested a review from nickygerritsen January 12, 2024 20:24
The PRs for changes to those scripts will be stored in the registry
of the user/organisation which forked or in our GitHub docker registry
if this branch is under the domjudge organization. Here we always build
against our latest version.

The GitLab code had the option to not push the latest tag, for when we
rebuild an older container, otherwise we always release against the
overwritten value or if nothing was provided against the latest released
tag (so which latest points to). The code for world readable files has
been kept.

Our build script is extended to now also have an option to push to
another organization/namespace so we can push the image to the github
container registry of the person doing the PR.

As we don't do this often we explicit clean the github runner of older
versions to make sure we always build against the latest image available
of our dependencies and don't encounter the earlier builds if a PR is
done more often (to fix something for example).

The image can be locally tested by looking at the special tag based on
the branchname/issue_number.
@vmcj vmcj force-pushed the packaging-docker-container branch from f060973 to af2d73a Compare January 13, 2024 15:47
@vmcj
Copy link
Member Author

vmcj commented Jan 13, 2024

See: https://github.com/vmcj/domjudge-packaging/actions/runs/7513393040 as the code is not in our repo yet so we don't run this on the PR. We will when this is merged.

@vmcj vmcj merged commit 8944e11 into DOMjudge:main Jan 15, 2024
4 checks passed
@vmcj vmcj deleted the packaging-docker-container branch January 15, 2024 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants