diff --git a/.github/workflows/deploy-docker.yml b/.github/workflows/deploy-docker.yml index eeeee0d..bc2a988 100644 --- a/.github/workflows/deploy-docker.yml +++ b/.github/workflows/deploy-docker.yml @@ -1,7 +1,11 @@ name: Docker Image CI on: - workflow_call: + push: + branches: + - main + tags: + - "docker-build-*" jobs: build-and-push: diff --git a/.github/workflows/increase-version.yml b/.github/workflows/increase-version.yml index 62de3e4..9cd06fd 100644 --- a/.github/workflows/increase-version.yml +++ b/.github/workflows/increase-version.yml @@ -30,6 +30,15 @@ jobs: # Push changes to remote main branch git push origin main - - build-and-run: - uses: ./.github/workflows/deploy-docker.yml@main + + trigger-pipeline-b: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Create and push tag + run: | + git config --global user.name "Gitea Actions" + git config --global user.email "actions@gitea.local" + git tag docker-build-$(date +%s) + git push --tags \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 4871bf4..699a5c2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pay-point", - "version": "0.0.15", + "version": "0.0.21", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "pay-point", - "version": "0.0.15", + "version": "0.0.21", "dependencies": { "@angular/animations": "^19.0.0", "@angular/cdk": "^19.0.0", diff --git a/package.json b/package.json index 5e2a9b8..2bd9de1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pay-point", - "version": "0.0.15", + "version": "0.0.21", "scripts": { "ng": "ng", "start": "ng serve",