Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-08T19:24:44.000Z (9 months ago)
- Last Synced: 2024-09-28T20:41:51.893Z (about 2 months 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
[![Hosted By: Cloudsmith](https://img.shields.io/badge/OSS%20hosting%20by-cloudsmith-blue?logo=cloudsmith&style=flat-square)](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:
[![CI/CT workflow for C# ASP .NET Core service docker image](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_c%23_backend_service.yml/badge.svg)](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_c%23_backend_service.yml)
[![CI/CT workflow for Go Gin service docker image](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_go_backend_service.yml/badge.svg)](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_go_backend_service.yml)
[![CI/CT workflow for Python FastAPI service docker image](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_python_backend_service.yml/badge.svg)](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_python_backend_service.yml)
[![CI/CT workflow for Rust Actix Web service docker image](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_rust_backend_service.yml/badge.svg)](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_rust_backend_service.yml)
[![CI/CT workflow for C# libraries packaged via nuget](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_c%23_lib.yml/badge.svg)](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_c%23_lib.yml)
[![CI/CT workflow for packaged Go libraries](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_go_lib.yml/badge.svg)](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_go_lib.yml)
[![CI/CT workflow for Python libraries packaged via pip](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_python_lib.yml/badge.svg)](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_python_lib.yml)
[![CI/CT workflow for Rust libraries packaged via cargo](https://github.com/MGTheTrain/github-action-workflow-samples/actions/workflows/build_and_push_rust_lib.yml/badge.svg)](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.