From a504c0f365285eae9f68cf2f471889d30658ee01 Mon Sep 17 00:00:00 2001 From: Gustavo de Souza dos Reis Date: Fri, 20 Dec 2024 10:01:07 -0300 Subject: [PATCH] ci: make the version match more restrictive. Now it only matches v..-dev --- .github/workflows/base-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/base-image.yml b/.github/workflows/base-image.yml index 2f68f12..5692d02 100644 --- a/.github/workflows/base-image.yml +++ b/.github/workflows/base-image.yml @@ -45,7 +45,7 @@ jobs: *.cache-to=type=gha,mode=max,scope=${{ matrix.image.name }} push: ${{ github.event_name == 'push' && vars.PUSH_TO_REGISTRY == 'true' && github.ref_type == 'tag' }} - name: Point IOC Dockerfile to image that was just built - run: sed -i "s/v.*-dev/$TAG/" Dockerfile + run: sed -i -E "s/v[0-9]+\.[0-9]+\.[0-9]+-dev/$TAG/" Dockerfile - name: Configure builder using docker driver uses: docker/setup-buildx-action@v3 id: dockerbuilder