From bffef7b9f4800453fae0b0d8a3fa7198f4d136ff Mon Sep 17 00:00:00 2001 From: Valeria Bagisheva <104082183+lemmav@users.noreply.github.com> Date: Thu, 24 Aug 2023 15:55:28 +0300 Subject: [PATCH] Tag for git-action --- .github/workflows/4testing-multi-build.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/4testing-multi-build.yml b/.github/workflows/4testing-multi-build.yml index 304575dd0c..e0e390ce3d 100644 --- a/.github/workflows/4testing-multi-build.yml +++ b/.github/workflows/4testing-multi-build.yml @@ -5,7 +5,7 @@ on: branches: - 'hotfix/v**' - 'release/v**' - - 'feature/*-build-action' + - 'feature/*-git-action' env: DOCKER_PATH: "/build/install/docker" REPO: "onlyoffice" @@ -34,10 +34,7 @@ jobs: - name: Build 4testing run: | cd .${DOCKER_PATH} - DOCKER_TAG=$(echo "${GITHUB_REF_NAME}" | sed '/^release\b\|^hotfix\b/s/release.*\/\|hotfix.*\///; s/-build-action$//').${{github.run_number}} - if [[ $GITHUB_REF_NAME =~ feature/(.*)-build-action ]]; then - DOCKER_TAG=$(echo "${GITHUB_REF_NAME}" | sed -E "s|feature/(.*)-build-action|\1-action|") - fi + DOCKER_TAG=$(echo "${GITHUB_REF_NAME}" | sed '/^release\b\|^hotfix\b\|^feature\b/s/release.*\/\|hotfix.*\/\|feature.*\///; s/-git-action$//').${{github.run_number}} export DOCKER_TAG docker buildx bake -f build.yml \