Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ci-space/workflows

useful workflows
https://github.com/ci-space/workflows

continuous-integration publishing

Last synced: 12 days ago
JSON representation

useful workflows

Awesome Lists containing this project

README

        

# Workflows

## Release Docker based GitHub Action

This manual action does:
- Generate new version by choice of: major, minor, patch
- Set new version into docker image in action.yaml
- Build image for new version
- Commit and push action.yaml
- Create and push new tag

### Usage

.github/workflows/release.yaml:
```yaml
name: release

permissions: write-all

on:
workflow_dispatch:
inputs:
version:
description: version
required: true
type: choice
options:
- major
- minor
- patch

jobs:
release:
uses: ci-space/workflows/.github/workflows/release-docker-github-action.yaml@master
secrets: inherit
with:
version: ${{ github.event.inputs.version }}
```