https://github.com/mgthetrain/github-action-workflow-samples
A collection of Github Action workflow samples
https://github.com/mgthetrain/github-action-workflow-samples
backend-services ci-ct-automation-pipelines csharp github-action-workflow-samples go libs packaging-build-artifacts python rust
Last synced: 9 months ago
JSON representation
A collection of Github Action workflow samples
- Host: GitHub
- URL: https://github.com/mgthetrain/github-action-workflow-samples
- Owner: MGTheTrain
- Archived: true
- Created: 2023-12-27T12:03:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-08T19:24:44.000Z (over 2 years ago)
- Last Synced: 2024-09-29T20:41:59.209Z (over 1 year ago)
- Topics: backend-services, ci-ct-automation-pipelines, csharp, github-action-workflow-samples, go, libs, packaging-build-artifacts, python, rust
- Language: C#
- Homepage:
- Size: 165 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# github-action-workflow-samples
[](https://cloudsmith.com)
## Table of Contents
- [Summary](#summary)
- [References](#references)
- [Getting started](#getting-started)
## Summary
A collection of Github Action workflow samples. For simplicity and to illustrate the concept, only manual workflow dispatch events will trigger workflows. The demonstration will not include the gitflow workflow with pull request and push request triggers involving dev, release/*, and master branches.
## References
- [login-action Github repository](https://github.com/docker/login-action)
- [Building and testing Go](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go)
- [Building and testing .NET](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net)
- [Building and testing Python](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python)
- [Snyk Actions Github repository](https://github.com/snyk/actions)
- [docker-login Action Github repository](https://github.com/Azure/docker-login)
- [build-push-action Github repository](https://github.com/docker/build-push-action). This does not work with [Snyk Docker Action](https://github.com/snyk/actions/tree/master/docker)
- [CloudSmith Action Github repository](https://github.com/cloudsmith-io/action)
- [Automated versioning and package publishing using GitHub Actions](https://dotnetthoughts.net/automated-versioning-and-package-publishing-using-github-actions/)
- [Upload Go package to CloudSmith](https://help.cloudsmith.io/docs/go-registry)
- [Go -Publishing a module](https://go.dev/doc/modules/publishing)
- [Go - Module version numbering](https://go.dev/doc/modules/version-numbers)
- [Publishing on crates.io](https://doc.rust-lang.org/cargo/reference/publishing.html)
## Getting started
### Preconditions
Setup a/an
- [Azure Container registry](https://azure.microsoft.com/de-de/products/container-registry) for uploading build and tagged docker images
- [CloudSmith organization](https://cloudsmith.com/pricing) for uploading build artifacts (nuget, pip, cargo packages)
- [Snyk organization](https://snyk.io/de/plans/) for vulnerability scanning
### Github Action workflows
Clicking on the provided links will direct you to the respective GitHub Action workflows:
[](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_c%23_backend_service.yml)
[](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_go_backend_service.yml)
[](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_python_backend_service.yml)
[](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_rust_backend_service.yml)
[](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_c%23_lib.yml)
[](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_go_lib.yml)
[](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_python_lib.yml)
[](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_rust_lib.yml)
With correct access you can manually start one of those.