Update .github/workflows/deploy-docker.yml
Some checks failed
Increase Version / bump-version (push) Has been cancelled

This commit is contained in:
2025-03-12 09:04:16 +00:00
parent cec8110290
commit 411ad80037

View File

@@ -3,27 +3,7 @@ name: Docker Image CI
on:
workflow_dispatch: # Start alleen als het handmatig of via API wordt getriggerd
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
jobs:
build-and-push:
needs: bump-version
runs-on: ubuntu-latest