From 229786a6a81dc6eadf313952ce908f2ea19f01c4 Mon Sep 17 00:00:00 2001 From: dess Date: Sat, 4 May 2024 19:18:35 -0400 Subject: [PATCH] fix(ci): still working on get it work --- .github/workflows/build.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 39d0ece..1b8c1c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,12 +30,7 @@ jobs: - name: get version id: get_version run: | - input_file="VERSION" - while read line - do - file_text=$line - done < "$input_file" - echo "version=$file_text" >> $GITHUB_OUTPUT + echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT - name: build images run: | docker build ./api --tag ghcr.io/greysoh/api:${{ steps.get_version.outputs.version }}