From ad83daa9292cf4193e10ed4d33e40408b5d5b669 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Tue, 27 Oct 2020 01:05:36 +0100 Subject: [PATCH] Fix workflow --- .github/workflows/ci.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8bfa598..6a3d4b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,15 +53,14 @@ jobs: tag-sha: true tag-schedule: ${{ matrix.tag-schedule }} - coerce: + tag-match: runs-on: ubuntu-latest strategy: fail-fast: false matrix: - tag-coerce-tag: - - "{{raw}}" - - "{{major}}.{{minor}}" - - "{{patch}}" + tag-match: + - \\d{1,3}.\\d{1,3}.\\d{1,3} + - \\d{1,3}.\\d{1,3} steps: - name: Checkout @@ -73,8 +72,8 @@ jobs: images: | ${{ env.DOCKER_IMAGE }} ghcr.io/name/app - tag-coerce-tag: ${{ matrix.tag-coerce-tag }} tag-sha: true + tag-match: ${{ matrix.tag-match }} docker-push: runs-on: ubuntu-latest @@ -92,9 +91,9 @@ jobs: id: docker_meta uses: ./ with: - images: | - ${{ env.DOCKER_IMAGE }} + images: ${{ env.DOCKER_IMAGE }} tag-sha: true + tag-match: \\d{1,3}.\\d{1,3}.\\d{1,3} - name: Set up QEMU uses: docker/setup-qemu-action@v1