Skip to content

Commit

Permalink
feat: use match in place of semver for docker image tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ymarcon committed May 8, 2024
1 parent 840c926 commit 4b34119
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
with:
images: ${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=match,pattern=\d+.\d+.\d+
type=match,pattern=\d+.\d+
type=match,pattern=\d+
- name: Build and push Docker image
id: push
Expand Down

0 comments on commit 4b34119

Please sign in to comment.