First changes for using semver everywhere

This commit is contained in:
Trenton Holmes
2022-04-28 11:20:40 -07:00
committed by Trenton Holmes
parent 0f1e31643d
commit dce4166bc8
6 changed files with 53 additions and 16 deletions

View File

@@ -260,8 +260,14 @@ jobs:
ghcr.io/${{ github.repository }}
name=paperlessngx/paperless-ngx,enable=${{ steps.docker-hub.outputs.enable }}
tags: |
# Tag branches with branch name
type=ref,event=branch
# Tag tags with tag name
type=ref,event=tag
# Process semver tags
# For a tag x.y.z or vX.Y.Z, output an x.y.z and x.y image tag
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
-
name: Checkout
uses: actions/checkout@v3