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

Add custom/default pr action for docker build and push #154

Merged
merged 2 commits into from Oct 15, 2021

Conversation

zhu733756
Copy link
Member

@zhu733756 zhu733756 commented Oct 14, 2021

Signed-off-by: zhu733756 zhu733756@kubesphere.io

Features: enable custom comments to use buildx to build and push docker images.

Enhance #152

Comments:

  • /push-custom-image will push images to a custom repo
  • /push-image will push images to the kubesphere repo

Need to enable secret for this project:

  • DOCKERHUB_USERNAME
  • DOCKERHUB_PASSWORD

Action job steps:

  • check : check and trigger the comment
  • build and push: build images and push there to the repo.

Build examples:
https://github.com/zhu733756/fluentbit-operator/actions/runs/1341101328
https://github.com/zhu733756/fluentbit-operator/actions/runs/1344831386

Expected results:

Congratulations! The image of this pr is pushed. See zhu733756/fluent-bit:actions-pr-2 and zhu733756/fluentbit-operator:actions-pr-2

Signed-off-by: zhu733756 <zhu733756@kubesphere.io>
@zhu733756 zhu733756 force-pushed the master branch 5 times, most recently from 7ad0642 to ec25e48 Compare October 15, 2021 06:09
Signed-off-by: zhu733756 <zhu733756@kubesphere.io>
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.

None yet

2 participants