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 dacf075 commit 3a50ab5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .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 @@ -27,6 +29,12 @@ jobs:
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
release_branches: ".*"
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
Expand All @@ -37,3 +45,7 @@ jobs:
tags: |
smartenergyplatform/notifier:prod
ghcr.io/senergy-platform/notifier:prod
smartenergyplatform/notifier:${{ steps.tag_version.outputs.new_tag }}
ghcr.io/senergy-platform/notifier:${{ steps.tag_version.outputs.new_tag }}
smartenergyplatform/notifier:latest
ghcr.io/senergy-platform/notifier:latest

0 comments on commit 3a50ab5

Please sign in to comment.