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 0a5a82e commit f76c482
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/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 @@ -37,3 +45,7 @@ jobs:
tags: |
smartenergyplatform/import-repository:prod
ghcr.io/senergy-platform/import-repository:prod
smartenergyplatform/import-repository:${{ steps.tag_version.outputs.new_tag }}
ghcr.io/senergy-platform/import-repository:${{ steps.tag_version.outputs.new_tag }}
smartenergyplatform/import-repository:latest
ghcr.io/senergy-platform/import-repository:latest

0 comments on commit f76c482

Please sign in to comment.