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:
parent
8ec02f11ef
commit
5bc3bf6dce
13 changed files with 785 additions and 443 deletions
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue