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

This commit is contained in:
mightypanders 2023-06-24 02:06:10 +02:00
parent 0560c4620c
commit 6169649261
1 changed files with 2 additions and 0 deletions

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' }}"