adjust env method
All checks were successful
Build a docker image for node-jellyfin-role-bot / build-docker-image (push) Successful in 7s
All checks were successful
Build a docker image for node-jellyfin-role-bot / build-docker-image (push) Successful in 7s
This commit is contained in:
parent
4f6d4f646a
commit
73741230b1
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user