adjust awk script
Build a docker image for node-jellyfin-role-bot / build-docker-image (push) Successful in 6s
Details
Build a docker image for node-jellyfin-role-bot / build-docker-image (push) Successful in 6s
Details
This commit is contained in:
parent
be3ee5e493
commit
0560c4620c
|
@ -21,4 +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 | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' }}"
|
||||
version: "${{ cat package.json | awk 'match($0, /version/) {print $2}' | sed 's/[\",]//g' }}"
|
||||
|
|
Loading…
Reference in New Issue