Skip to content

Commit

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

Please sign in to comment.