milvus-io / birdwatcher

Apache License 2.0
43 stars 32 forks source link

Add Docker Build and Push Workflow for Tagged Commits #221

Closed yellow-shine closed 9 months ago

yellow-shine commented 10 months ago

This commit introduces a new GitHub Actions workflow designed to automate the Docker image building and pushing process for the MilvusDB/Birdwatcher project. The workflow triggers on new tags (formatted as 'v*') pushed to the repository and includes the following key steps:

  1. Checkout the source code.
  2. Generate Docker metadata including tags based on semantic versioning, and commit SHA.
  3. Login to Docker Hub using secured credentials.
  4. Build the Docker image from the current directory context and push it to Docker Hub, using the generated tags and labels.

This automation ensures that every tagged commit is accompanied by a corresponding Docker image, simplifying deployment and testing processes.

sre-ci-robot commented 9 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia, samhuang-z

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/milvus-io/birdwatcher/blob/main/OWNERS)~~ [congqixia] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment