This repository has been archived by the owner on May 15, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(github-action): use output generated by semantic-release to push d…
…ocker image ## what - use semantic-release plugin 'semantic-release-export-data' to store output in github actions whether a new version will be release ornot. - remove job 'extract-envs' - set NEXT_VERSION env depending if semantic-release will be released or not - push docker image IF a new version is being released ## how - use semantic-release plugin 'semantic-release-export-data' to store output in github actions whether a new version will be release ornot. - semantic-release plugin semantic-release-export-data will write output to github on whether a new version will be released. if a new version is being released, the tagname of the release version - set NEXT_VERSION env depending if semantic-release will be released or not - if there's NO new version, set NEXT_VERSION to the latest git tag - if there's a NEW version, set NEXT_VERSION to the new release version - push docker image IF a new version is being released - semantic-release will set an output to github-action to determine a new version will be released. ## why - eliminates one job - the entire process of extracting next release version is complicated and can go wrong - using 'semantic-release-export-data' plugin makes it easier extracting whether there's a new release and the new release version ## where ## usage
- Loading branch information