Fix versioning of docker images

This commit is contained in:
Jan Graefen 2022-12-27 13:42:41 +01:00
parent 077338b90e
commit 3600616dda

View file

@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- 'v*'
- "v*"
jobs:
binaryrelease:
@ -35,13 +35,13 @@ jobs:
- name: Docker meta
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v4
uses: docker/metadata-action@v4
with:
images: jangraefen/hcloud-pricing-exporter
tag-sha: true
tag-semver: |
{{version}}
{{major}}.{{minor}}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2