Skip to content

Commit

Permalink
build: trying to fix version tag extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
fetzu authored Oct 5, 2023
1 parent 05e841f commit 0cda496
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/buildeux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ name: Build and publish Docker image

on:
release:
types: [published]
types:
- 'published'
push:
branches:
- 'main'
Expand Down Expand Up @@ -48,6 +49,8 @@ jobs:
images: |
fetzu/teslamate-abrp
ghcr.io/${{ github.repository }}
tags: |
type=semver,pattern={{version}}
- name: Build and push Docker images for releases
if: github.event_name == 'release'
Expand Down

0 comments on commit 0cda496

Please sign in to comment.