fix(ci): still working on get it work

This commit is contained in:
valerie 2024-05-04 19:18:35 -04:00
parent e02edd34b6
commit 229786a6a8
No known key found for this signature in database
GPG key ID: BC4072495F2567DE

View file

@ -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 }}