Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
franzmueller committed Dec 19, 2023
1 parent f00ffdd commit 204d2dd
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- master
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch:

jobs:
Expand All @@ -25,6 +27,12 @@ jobs:
password: ${{ secrets.CR_PAT }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v6.1
with:
release_branches: ".*"
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
Expand All @@ -33,4 +41,8 @@ jobs:
push: true
tags: |
smartenergyplatform/camunda-engine-wrapper:prod
ghcr.io/senergy-platform/camunda-engine-wrapper:prod
ghcr.io/senergy-platform/camunda-engine-wrapper:prod
smartenergyplatform/camunda-engine-wrapper:${{ steps.tag_version.outputs.new_tag }}
ghcr.io/senergy-platform/camunda-engine-wrapper:${{ steps.tag_version.outputs.new_tag }}
smartenergyplatform/camunda-engine-wrapper:latest
ghcr.io/senergy-platform/camunda-engine-wrapper:latest

0 comments on commit 204d2dd

Please sign in to comment.