updates to workflow
Some checks failed
Build and Publish Docker Image / build-and-push (push) Failing after 8s
Some checks failed
Build and Publish Docker Image / build-and-push (push) Failing after 8s
This commit is contained in:
parent
276dfb9a96
commit
a78aa7472e
@ -23,6 +23,17 @@ jobs:
|
||||
id: version
|
||||
run: |
|
||||
echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
|
||||
- name: Update package.json version
|
||||
run: |
|
||||
VERSION="${{ steps.version.outputs.VERSION }}"
|
||||
jq --arg v "$VERSION" '.version = $v' package.json > package.json.tmp && mv package.json.tmp package.json
|
||||
- name: Commit and push package.json
|
||||
run: |
|
||||
git config --global user.name 'Gitea Actions'
|
||||
git config --global user.email 'actions@gitea.com'
|
||||
git add package.json
|
||||
git commit -m "ci: bump version to ${{ steps.version.outputs.VERSION }}"
|
||||
git push
|
||||
- name: Build and Push Docker Images
|
||||
run: |
|
||||
IMAGE_NAME="ktvmanager-backend"
|
||||
|
Loading…
x
Reference in New Issue
Block a user