Update helm chart releasing logic

This commit is contained in:
2025-08-06 22:50:31 +10:00
parent 411236f90b
commit 4757d3fa60
3 changed files with 6 additions and 9 deletions
+2 -1
View File
@@ -90,7 +90,8 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha,prefix={{branch}}-
type=sha,prefix={{branch}}-,enable=${{ github.ref_type == 'branch' }}
type=sha,enable=${{ github.ref_type == 'tag' }}
type=raw,value=latest,enable={{is_default_branch}}
labels: |
org.opencontainers.image.title=Passkey Auth
+3 -7
View File
@@ -2,12 +2,8 @@ name: Release Helm Chart
on:
push:
branches:
- main
paths:
- 'helm/passkey-auth/**'
release:
types: [published]
tags:
- 'v*.*.*'
permissions:
contents: write
@@ -63,7 +59,7 @@ jobs:
release:
needs: lint-test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || github.event_name == 'release'
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout
uses: actions/checkout@v4