@@ -27,6 +27,11 @@ jobs:
|
||||
id: repo
|
||||
run: echo "name=$(echo '${{ gitea.repository }}' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Bump version in package.json
|
||||
run: |
|
||||
VERSION=$(echo "${{ gitea.ref_name }}" | sed 's/^v//')
|
||||
sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"$VERSION\"/" package.json
|
||||
|
||||
- name: Build and push
|
||||
uses: https://github.com/docker/build-push-action@v6
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user