Coerces Git tag to semver (#3)

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2020-10-26 01:39:21 +01:00
committed by GitHub
parent 8ec02f11ef
commit 5bc3bf6dce
13 changed files with 785 additions and 443 deletions

View File

@ -53,6 +53,29 @@ jobs:
tag-sha: true
tag-schedule: ${{ matrix.tag-schedule }}
coerce:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag-coerce-tag:
- "{{raw}}"
- "{{major}}.{{minor}}"
- "{{patch}}"
steps:
-
name: Checkout
uses: actions/checkout@v2.3.3
-
name: Docker meta
uses: ./
with:
images: |
${{ env.DOCKER_IMAGE }}
ghcr.io/name/app
tag-coerce-tag: ${{ matrix.tag-coerce-tag }}
tag-sha: true
docker-push:
runs-on: ubuntu-latest
services: