Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Build container images on push #104

Merged
merged 1 commit into from
Nov 30, 2021
Merged

Conversation

mjura
Copy link
Collaborator

@mjura mjura commented Nov 29, 2021

We would like to build container images only on push to main branch.
We shouldn't care about building images from PR.

@mjura mjura requested a review from vadorovsky November 29, 2021 17:51
We would like to build container images only on push to main branch.
We shouldn't care about building images from PR.

Signed-off-by: Michal Jura <mjura@suse.com>
Copy link
Member

@vadorovsky vadorovsky left a comment

Choose a reason for hiding this comment

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

We shouldn't care about building images from PR.

I strongly disagree. I think that building images from PRs is really convenient for two reasons:

  • you can easily test someone's changes without checking out to their branch, compiling and building an image yourself
  • we can introduce some integration tests on top of those images in future

So I would rather try to fix PR image builds.

Copy link
Member

@vadorovsky vadorovsky left a comment

Choose a reason for hiding this comment

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

Or neevermind. I tried to google why the PR builds don't work. Didn't find any concrete answers. Since there is no obvious way to fix them, I will just accept your PR as it is. thanks!

@vadorovsky vadorovsky merged commit 384b8f4 into lockc-project:main Nov 30, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants