Update .github/workflows/deploy-docker.yml
All checks were successful
Docker Image CI / bump-version (push) Successful in 17s
Docker Image CI / build-and-push (push) Successful in 53s
Docker Image CI / deploy (push) Successful in 39s

This commit is contained in:
2025-03-12 08:48:06 +00:00
parent c88bc19c26
commit 2b79ccf7a7

View File

@@ -7,7 +7,28 @@ on:
branches: [ "main" ]
jobs:
bump-version:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config --global user.name "Gitea Actions"
git config --global user.email "actions@gitea.local"
- name: Bump version in package.json
run: |
npm version patch --no-git-tag-version
git add package.json package-lock.json
git commit -m "chore: bump version [skip ci]" || echo "No changes to commit"
git push origin main
build-and-push:
needs: bump-version
runs-on: ubuntu-latest
steps: