Skip to content

Commit

Permalink
New Docker image tag matching
Browse files Browse the repository at this point in the history
  • Loading branch information
hadiahmed098 committed May 26, 2023
1 parent 4c82c04 commit 0c193f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
images: ${{ env.REGISTRY }}/${{env.IMAGE_NAME_API }}
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver, pattern={{major}}
type=match,pattern=v\d.\d,group=0
type=match,pattern=v(\d).\d,group=1
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push Docker image
Expand Down

0 comments on commit 0c193f3

Please sign in to comment.