From 4e74f2fa0bf1441d8defe3e9f695ac376acbeb99 Mon Sep 17 00:00:00 2001 From: johnson2427 Date: Fri, 16 Aug 2024 08:44:44 -0500 Subject: [PATCH] feat: fix versioning add debug feature back --- .github/workflows/build.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2054d2187a..c53d157109 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -32,10 +32,16 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - type=ref,event=branch - type=ref,event=pr - type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} + type=ref,event=branch,branch=main,latest=true + type=ref,event=branch,branch=main + type=ref,event=branch,branch!=main + type=semver,pattern={{version}},branch=main,latest=false + type=ref,event=tag + + - name: Show tags + run: | + git tag + echo ${{ steps.meta.outputs.tags }} - name: Log into GitHub Container Registry if: github.event_name != 'pull_request'