From d4eaa3c5eff4b0cfd77fb6a43fb3a4b70834cc46 Mon Sep 17 00:00:00 2001 From: Tpt Date: Mon, 8 Jan 2024 09:41:12 +0100 Subject: [PATCH] Docker: use semver tagging --- .github/workflows/artifacts.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 387b67be..c23dfc35 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -337,6 +337,11 @@ jobs: images: | ${{ github.repository }},enable=${{ github.event_name == 'release' }} 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 with: context: .