Coerces Git tag to semver (#3)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
1 parent
8ec02f11ef
commit
5bc3bf6dce
13 files changed
+781
-439
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user