From 319e6b322e4c39cdcda5e531eb0fdab9b1e27d32 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 28 Jul 2023 19:10:04 +0000 Subject: [PATCH] Update docker/build/action.yaml --- docker/build/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/build/action.yaml b/docker/build/action.yaml index 82a9e46..001a1a7 100644 --- a/docker/build/action.yaml +++ b/docker/build/action.yaml @@ -20,5 +20,5 @@ runs: - name: Build image run: | TAG=$([ -n "${{inputs.tag}}" ] && echo "${{inputs.tag}}" || [ "$GITHUB_REF" == "refs/heads/develop" ] && echo "latest" || echo "$GITHUB_REF_NAME" | sed -E "s/[_/]/-/g") - REG=$("${{inputs.registry}}" | sed -E "s%https?://%%gi") + REG=$(echo "${{inputs.registry}}" | sed -E "s%https?://%%gi") docker build --no-cache -t "$REG/${{inputs.image}}:$TAG" .