Docker: use semver tagging

pull/727/head
Tpt 10 months ago committed by Thomas Tanon
parent dcabf50ab6
commit d4eaa3c5ef
  1. 5
      .github/workflows/artifacts.yml

@ -337,6 +337,11 @@ jobs:
images: | images: |
${{ github.repository }},enable=${{ github.event_name == 'release' }} ${{ github.repository }},enable=${{ github.event_name == 'release' }}
ghcr.io/${{ github.repository }} ghcr.io/${{ github.repository }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- uses: docker/build-push-action@v4 - uses: docker/build-push-action@v4
with: with:
context: . context: .

Loading…
Cancel
Save