diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index dc9a773..ff787ee 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -56,8 +56,9 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - # set latest tag for default branch - type=raw,value=latest,enable={{is_default_branch}} + type=raw,value=latest + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} - name: Build and push Docker image uses: docker/build-push-action@v5