fix(ci): still working on get it work
This commit is contained in:
parent
e02edd34b6
commit
229786a6a8
1 changed files with 1 additions and 6 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -30,12 +30,7 @@ jobs:
|
||||||
- name: get version
|
- name: get version
|
||||||
id: get_version
|
id: get_version
|
||||||
run: |
|
run: |
|
||||||
input_file="VERSION"
|
echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT
|
||||||
while read line
|
|
||||||
do
|
|
||||||
file_text=$line
|
|
||||||
done < "$input_file"
|
|
||||||
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