diff --git a/.gitea/workflows/test-build.yaml b/.gitea/workflows/test-build.yaml index a3ce3ca..4ee699b 100644 --- a/.gitea/workflows/test-build.yaml +++ b/.gitea/workflows/test-build.yaml @@ -21,6 +21,4 @@ jobs: - name: Build Container run: echo "${{ env.VERSION }}" #docker build -t "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}" . env: - version: "${{ cat package.json | awk 'match($0, /version/) {print $2}' | sed 's/[\",]//g' }}" - - name: echo version - run: echo $(cat package.json | awk 'match($0, /version/) {print $2}' | sed 's/[\",]//g') + version: $(cat package.json | awk 'match($0, /version/) {print $2}' | sed 's/[\",]//g')