Skip to content

Commit ad83daa

Browse files
committed
Fix workflow
1 parent a207508 commit ad83daa

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,14 @@ jobs:
5353
tag-sha: true
5454
tag-schedule: ${{ matrix.tag-schedule }}
5555

56-
coerce:
56+
tag-match:
5757
runs-on: ubuntu-latest
5858
strategy:
5959
fail-fast: false
6060
matrix:
61-
tag-coerce-tag:
62-
- "{{raw}}"
63-
- "{{major}}.{{minor}}"
64-
- "{{patch}}"
61+
tag-match:
62+
- \\d{1,3}.\\d{1,3}.\\d{1,3}
63+
- \\d{1,3}.\\d{1,3}
6564
steps:
6665
-
6766
name: Checkout
@@ -73,8 +72,8 @@ jobs:
7372
images: |
7473
${{ env.DOCKER_IMAGE }}
7574
ghcr.io/name/app
76-
tag-coerce-tag: ${{ matrix.tag-coerce-tag }}
7775
tag-sha: true
76+
tag-match: ${{ matrix.tag-match }}
7877

7978
docker-push:
8079
runs-on: ubuntu-latest
@@ -92,9 +91,9 @@ jobs:
9291
id: docker_meta
9392
uses: ./
9493
with:
95-
images: |
96-
${{ env.DOCKER_IMAGE }}
94+
images: ${{ env.DOCKER_IMAGE }}
9795
tag-sha: true
96+
tag-match: \\d{1,3}.\\d{1,3}.\\d{1,3}
9897
-
9998
name: Set up QEMU
10099
uses: docker/setup-qemu-action@v1

0 commit comments

Comments
 (0)