add new step
All checks were successful
Build a docker image for node-jellyfin-role-bot / build-docker-image (push) Successful in 6s

This commit is contained in:
mightypanders 2023-06-24 02:06:10 +02:00
parent 0560c4620c
commit 6169649261

View File

@ -22,3 +22,5 @@ jobs:
run: echo "${{ env.VERSION }}" #docker build -t "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}" . run: echo "${{ env.VERSION }}" #docker build -t "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}" .
env: env:
version: "${{ 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' }}"
- name: echo version
run: echo "${{ cat package.json | awk 'match($0, /version/) {print $2}' | sed 's/[\",]//g' }}"