From cbd04233ff2c7a5a6f7bb1db367fd4b2364cd455 Mon Sep 17 00:00:00 2001 From: Mark Phelps <209477+markphelps@users.noreply.github.com> Date: Thu, 1 Dec 2022 10:07:17 -0500 Subject: [PATCH] chore: try to fix latest tag/push on release --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ef936255a..edba5f4133 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,7 +71,7 @@ jobs: env: TAG: ${{ github.ref }} run: | - if [[ $(git tag -l --sort=-version:refname | head -n 1) == $TAG ]]; then + if [[ $TAG =~ $(git tag -l --sort=-version:refname | head -n 1) ]]; then docker tag flipt/flipt:$TAG flipt/flipt:latest docker tag markphelps/flipt:$TAG markphelps/flipt:latest docker tag ghcr.io/flipt-io/flipt:$TAG ghcr.io/flipt-io/flipt:latest