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

Actions for building and releasing manifests #107

Merged
merged 39 commits into from
Nov 29, 2023

Conversation

powerfooI
Copy link
Collaborator

@powerfooI powerfooI commented Nov 21, 2023

Summary

Create and test 4 workflow for building and releasing.

  1. workflow build which builds images in amd64 and arm64 arch respectively
  2. workflow release-charts derives from original release workflow, which packs helm charts and release them and will be triggered by pushing tag "X.Y.Z"
  3. workflow release-images builds images for amd64 and arm64 platforms and push them to specific docker registry. This workflow will be triggered by pushing tag "X.Y.Z"
  4. workflow release-distributions builds and push images of observer, obconfigserver, obproxy and obagent with tag [comp]-[version].

In workflow release-images, tag "X.Y.Z" will be used as tag of product images. And the following secrets and vars will be used in steps:

  • secrets.DOCKER_USERNAME, username to log in Docker Hub
  • secrets.DOCKER_PASSWORD, password matching the given username
  • vars.DOCKER_PUSH_BASE, should be repo in format repo/image, like oceanbase in oceanbase/ob-operator

@powerfooI powerfooI force-pushed the actions/build-release branch from a1794c7 to 308bc8d Compare November 21, 2023 11:42
@powerfooI powerfooI marked this pull request as draft November 27, 2023 06:28
@powerfooI powerfooI marked this pull request as ready for review November 27, 2023 08:57
.github/workflows/release-observer.yml Outdated Show resolved Hide resolved
distribution/oceanbase/Dockerfile Outdated Show resolved Hide resolved
@powerfooI
Copy link
Collaborator Author

fix #107

@powerfooI powerfooI self-assigned this Nov 29, 2023
Copy link
Member

@chris-sun-star chris-sun-star left a comment

Choose a reason for hiding this comment

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

LGTM

@chris-sun-star chris-sun-star merged commit 02bdbce into oceanbase:2.x_dev Nov 29, 2023
1 check passed
@powerfooI powerfooI deleted the actions/build-release branch March 29, 2024 13:12
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