mirror of
https://gitea.com/docker/metadata-action.git
synced 2024-11-22 12:09:32 +01:00
Fix workflow
This commit is contained in:
parent
a207508e20
commit
ad83daa929
1 changed files with 7 additions and 8 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
@ -53,15 +53,14 @@ jobs:
|
||||||
tag-sha: true
|
tag-sha: true
|
||||||
tag-schedule: ${{ matrix.tag-schedule }}
|
tag-schedule: ${{ matrix.tag-schedule }}
|
||||||
|
|
||||||
coerce:
|
tag-match:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
tag-coerce-tag:
|
tag-match:
|
||||||
- "{{raw}}"
|
- \\d{1,3}.\\d{1,3}.\\d{1,3}
|
||||||
- "{{major}}.{{minor}}"
|
- \\d{1,3}.\\d{1,3}
|
||||||
- "{{patch}}"
|
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
|
@ -73,8 +72,8 @@ jobs:
|
||||||
images: |
|
images: |
|
||||||
${{ env.DOCKER_IMAGE }}
|
${{ env.DOCKER_IMAGE }}
|
||||||
ghcr.io/name/app
|
ghcr.io/name/app
|
||||||
tag-coerce-tag: ${{ matrix.tag-coerce-tag }}
|
|
||||||
tag-sha: true
|
tag-sha: true
|
||||||
|
tag-match: ${{ matrix.tag-match }}
|
||||||
|
|
||||||
docker-push:
|
docker-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -92,9 +91,9 @@ jobs:
|
||||||
id: docker_meta
|
id: docker_meta
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
images: |
|
images: ${{ env.DOCKER_IMAGE }}
|
||||||
${{ env.DOCKER_IMAGE }}
|
|
||||||
tag-sha: true
|
tag-sha: true
|
||||||
|
tag-match: \\d{1,3}.\\d{1,3}.\\d{1,3}
|
||||||
-
|
-
|
||||||
name: Set up QEMU
|
name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
|
|
Loading…
Reference in a new issue