Skip to content

Commit

Permalink
Use standard SemVer tag for initial chart release
Browse files Browse the repository at this point in the history
  • Loading branch information
sd109 committed Aug 30, 2024
1 parent 5a15100 commit fc950fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- '*'

env:
REGISTRY_NAME: ghcr.io/stackhpc
REGISTRY_IMAGE: danswer/danswer-backend

jobs:
Expand Down Expand Up @@ -35,8 +36,8 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/stackhpc/${{ env.REGISTRY_IMAGE }}:${{ github.ref_name }}
ghcr.io/stackhpc/${{ env.REGISTRY_IMAGE }}:latest
${{ env.REGISTRY_NAME }}/${{ env.REGISTRY_IMAGE }}:${{ github.ref_name }}
${{ env.REGISTRY_NAME }}/${{ env.REGISTRY_IMAGE }}:latest
build-args: |
DANSWER_VERSION=${{ github.ref_name }}
cache-from: type=gha
Expand All @@ -46,6 +47,6 @@ jobs:
uses: aquasecurity/trivy-action@master
with:
# To run locally: trivy image --severity HIGH,CRITICAL danswer/danswer-backend
image-ref: docker.io/${{ env.REGISTRY_IMAGE }}:${{ github.ref_name }}
image-ref: ${{ env.REGISTRY_NAME }}/${{ env.REGISTRY_IMAGE }}:${{ github.ref_name }}
severity: 'CRITICAL,HIGH'
trivyignores: ./backend/.trivyignore
2 changes: 1 addition & 1 deletion deployment/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ home: https://www.danswer.ai/
sources:
- "https://github.com/danswer-ai/danswer"
type: application
version: 0.5.10-stackhpc.1
version: 0.5.10
appVersion: "v0.5.10"
annotations:
category: Productivity
Expand Down

0 comments on commit fc950fc

Please sign in to comment.