From de4908598fad534baa4bb9f4564af15d60e4c5b8 Mon Sep 17 00:00:00 2001 From: WGOS Date: Fri, 2 Feb 2024 16:20:06 +0400 Subject: [PATCH] Fix sed typo --- .github/workflows/build-docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 2026802..c916ddb 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -39,11 +39,11 @@ jobs: - name: Set feature tag if: ${{ startsWith(github.ref, 'refs/heads/feature/') }} - run: echo DOCKER_TAG=$(echo ${{ github.ref }} | sed 's|refs/heads/||g | sed 's|/|-|g') >> ${GITHUB_ENV} + run: echo DOCKER_TAG=$(echo ${{ github.ref }} | sed 's|refs/heads/||g' | sed 's|/|-|g') >> ${GITHUB_ENV} - name: Set versioned tag if: ${{ startsWith(github.ref, 'refs/tags/') }} - run: echo DOCKER_TAG=$(echo ${{ github.ref }} | sed 's|refs/tags/||g) >> ${GITHUB_ENV} + run: echo DOCKER_TAG=$(echo ${{ github.ref }} | sed 's|refs/tags/||g') >> ${GITHUB_ENV} - name: Build and push Docker image uses: docker/build-push-action@v2