Skip to content

Commit

Permalink
fix version build
Browse files Browse the repository at this point in the history
  • Loading branch information
sparul93 committed Feb 2, 2024
1 parent 8ba65aa commit 3e333eb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
tags: |
# set latest tag for default branch
type=raw,value=latest,enable={{is_default_branch}}
# output 0.1.2
type=semver,pattern={{version}}
# output 0.1
type=semver,pattern={{major}}.{{minor}}
# disabled if major zero
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
Expand Down

0 comments on commit 3e333eb

Please sign in to comment.