Update .github/workflows/deploy-docker.yml
Some checks failed
Increase Version / bump-version (push) Has been cancelled
Some checks failed
Increase Version / bump-version (push) Has been cancelled
This commit is contained in:
22
.github/workflows/deploy-docker.yml
vendored
22
.github/workflows/deploy-docker.yml
vendored
@@ -3,27 +3,7 @@ name: Docker Image CI
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch: # Start alleen als het handmatig of via API wordt getriggerd
|
workflow_dispatch: # Start alleen als het handmatig of via API wordt getriggerd
|
||||||
|
|
||||||
jobs:
|
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:
|
build-and-push:
|
||||||
needs: bump-version
|
needs: bump-version
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user