Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add GitHub Actions pipeline automated versioning and publishing (#…
…104) * Added github action for publishing docker images * Added github action for publishing docker images * Updated docker up repo name * Upgraded to action build-push-action@v2 * Upgraded to action build-push-action@v2 * Correctly logging into github registry * Added prepare step and setting imgage labels * Pushing image to GHCR and Docker Hub * Docker publish 'needs' tests to be run * Only running docker pipeline on master * ci: join docker build and go tests to one ci pipeline * ci: move docker release to dedicated ci pipeline and triggering pipeline on new version tags * docs: add hint for developers to use conventional commits * fix(ci): never push images during build job * fix(ci): change docker release trigger to run on creation of version tags See actions/runner#1007 * fix(ci): change docker release trigger to run on creation and push of version tags See actions/runner#1007 and https://github.com/docker/metadata-action#basic * fix(ci): release branch is master not main * fix(ci): run workflow anytime someone creates a branch or tag See: https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#create * ci: use GitHubActions cache for docker images * ci: move docker release to test-build-release.yml and use semver tag for images * ci: setup buildx in release * ci: push to GHCR on release add pre-release option for releases * ci: push to GHCR on release add pre-release option for releases * ci: add push to DuckerHub * ci: no organization prefix for docker hub * ci: move go release to test-build-release.yml so that artifacts can be included in GitHub release * ci: fix go releaser version * ci: keep dist and setting git tag before goreleaser * ci: keep dist and setting git tag before goreleaser * ci: provide commit ref for release instead of tag * ci: use both tag and commit ref * ci: remove git tag after go release * ci: create release from conventional commit change loge before running gorelease * ci: set tag before gorelease * ci: delete release-go.yml * ci: pre-release tag for github release * ci: checking release_type for tagging as prerelease indicator * ci: fix version of ncipollo/release-action * ci: setup buildx in release * ci: push to GHCR on release add pre-release option for releases * ci: add push to DuckerHub * ci: no organization prefix for docker hub * ci: move go release to test-build-release.yml so that artifacts can be included in GitHub release * ci: fix go releaser version * ci: keep dist and setting git tag before goreleaser * ci: keep dist and setting git tag before goreleaser * ci: provide commit ref for release instead of tag * ci: use both tag and commit ref * ci: remove git tag after go release * ci: create release from conventional commit change loge before running gorelease * ci: set tag before gorelease * ci: delete release-go.yml * ci: pre-release tag for github release * ci: checking release_type for tagging as prerelease indicator * ci: fix version of ncipollo/release-action * ci: also run test and build on PRs into 'pre-release' Co-authored-by: Konstantin Strümpf <33258365+SirPumpkinHead@users.noreply.github.com>
- Loading branch information