fix: prevent duplicate workflow execution on tag push #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request reorganizes the CI/CD workflows by removing the release process from the
ci.ymlfile and creating a dedicatedrelease.ymlworkflow. It also introduces Docker image build and push functionality in the new release workflow. The changes streamline the CI pipeline and enhance Docker integration.Workflow Reorganization:
.github/workflows/ci.yml: Removed thereleasejob, which included tasks for running release tests, building binaries, compressing binaries, and creating GitHub releases. This job has been moved to a dedicatedrelease.ymlfile..github/workflows/ci.yml: Updated thedockerjob condition to remove checks for tags and streamline its execution logic.New Release Workflow:
.github/workflows/release.yml: Added aworkflow_calltrigger to allow other workflows to invoke the release workflow. Defined environment variables (REGISTRYandIMAGE_NAME) for Docker integration..github/workflows/release.yml: Introduced adockerjob that builds and pushes Docker images using metadata extraction, multi-platform support, and caching mechanisms. This job includes steps for logging into Docker registries, setting up QEMU and Buildx, and configuring image metadata and annotations.