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

ci: add GitHub Workflow for building and pushing container-images #21

Merged
merged 2 commits into from
Dec 22, 2021

Conversation

nixpanic
Copy link
Collaborator

Two CI jobs are added:

  1. Test building container images, so that Mergify can require
    build_controller and build_sidecar as CI jobs.

  2. The container images should get pushed to quay.io after a PR has been
    merged. This currently builds the container images for all the
    architectures that the golang base container and Docker Actions support.

@mergify mergify bot requested review from Rakshith-R and yati1998 December 21, 2021 15:02
Copy link
Member

@Madhu-1 Madhu-1 left a comment

Choose a reason for hiding this comment

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

there is a lot of duplication of code this can be reduced take a look at https://github.blog/changelog/2021-08-25-github-actions-reduce-duplication-with-action-composition/ could be considered as an enhancement if it needs more time to figure out.

@nixpanic
Copy link
Collaborator Author

there is a lot of duplication of code this can be reduced take a look at https://github.blog/changelog/2021-08-25-github-actions-reduce-duplication-with-action-composition/ could be considered as an enhancement if it needs more time to figure out.

That is a good idea, but it would need some experimenting before I feel comfortable doing it that way. Created #24 for tracking.

@nixpanic nixpanic requested a review from Madhu-1 December 22, 2021 07:30
The container images should get pushed to quay.io after a PR has been
merged. This currently builds the container images for all the
architectures that the golang base container and Docker Actions support.

Signed-off-by: Niels de Vos <[email protected]>
Test building container images, so that Mergify can require
`build_controller` and `build_sidecar` as CI jobs.

Signed-off-by: Niels de Vos <[email protected]>
@nixpanic nixpanic force-pushed the workflows/build-push branch from a4da2a3 to d1129b7 Compare December 22, 2021 07:48
@mergify mergify bot merged commit fa78cb4 into csi-addons:main Dec 22, 2021
Rakshith-R referenced this pull request in Rakshith-R/kubernetes-csi-addons Jan 31, 2022
…-to-release-4.10

[release-4.10] Bug 2043406: sync upstream main branch to downstream
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.

3 participants