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

CSUB-1102: Refactoring around docker files #39

Merged
merged 6 commits into from
Jun 27, 2024

Conversation

atodorov
Copy link
Collaborator

@atodorov atodorov commented Jun 25, 2024

  • enable build jobs on PRs & conditionally push to Docker Hub
  • use a single Dockerfile with arguments instead of multiple to minimize the possibility for divergence between them
  • Drop duplication inside release pipeline and replace by matrix job

Copy link

github-actions bot commented Jun 25, 2024

For full LLVM coverage report click here!

@atodorov atodorov force-pushed the refactor/CSUB-1102-use-single-dockerfile branch 2 times, most recently from 4cd452a to 1f7928f Compare June 25, 2024 14:32
only push the resulting docker images if the CI job was not triggered on
a pull request (e.g. push to a release branch or manually triggered)
remove the duplicate files and use a build argument for the different
images
otherwise we get a warning:
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy
"ENV key value" format (line 33) Dockerfile:30
b/c it leads to errors:
useradd: UID 1000 is not unique
@atodorov atodorov force-pushed the refactor/CSUB-1102-use-single-dockerfile branch from 1f7928f to 62a774f Compare June 25, 2024 15:38
@atodorov atodorov marked this pull request as ready for review June 26, 2024 08:22
Copy link

@notaturkey notaturkey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@atodorov atodorov merged commit b4d7fe9 into dev Jun 27, 2024
9 checks passed
@atodorov atodorov deleted the refactor/CSUB-1102-use-single-dockerfile branch June 27, 2024 08:00
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