fix(ci): make version file work
This commit is contained in:
parent
bf3bc761a5
commit
e02edd34b6
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
||||||
do
|
do
|
||||||
file_text=$line
|
file_text=$line
|
||||||
done < "$input_file"
|
done < "$input_file"
|
||||||
echo ::set-output name=version::$file_text
|
echo "version=$file_text" >> $GITHUB_OUTPUT
|
||||||
- name: build images
|
- name: build images
|
||||||
run: |
|
run: |
|
||||||
docker build ./api --tag ghcr.io/greysoh/api:${{ steps.get_version.outputs.version }}
|
docker build ./api --tag ghcr.io/greysoh/api:${{ steps.get_version.outputs.version }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue