2
0
Fork 0
mirror of https://code.forgejo.org/docker/metadata-action.git synced 2025-09-17 10:16:57 +00:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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: