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 7006607 commit 7351512
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 @@ -39,3 +47,7 @@ jobs:
tags: |
smartenergyplatform/web-ui:prod
ghcr.io/senergy-platform/web-ui:prod
smartenergyplatform/web-ui:${{ steps.tag_version.outputs.new_tag }}
ghcr.io/senergy-platform/web-ui:${{ steps.tag_version.outputs.new_tag }}
smartenergyplatform/web-ui:latest
ghcr.io/senergy-platform/web-ui:latest

0 comments on commit 7351512

Please sign in to comment.