Skip to content

Commit

Permalink
specify chart in deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmwang committed Nov 18, 2024
1 parent a7bd1f9 commit 7015698
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cd-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@ jobs:
set -e # Exit immediately if a command fails
cd ./infra
helm registry login registry-1.docker.io -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
# Uninstall the old helm chart if it exists
helm uninstall bt-dev-app-${{ needs.compute-sha.outputs.sha_short }} || true
# Install new chart
helm install bt-dev-app-${{ needs.compute-sha.outputs.sha_short }} oci://registry-1.docker.io/octoberkeleytime \
helm install bt-dev-app-${{ needs.compute-sha.outputs.sha_short }} oci://registry-1.docker.io/octoberkeleytime/bt-app \
--version=0.1.0-dev.${{ needs.compute-sha.outputs.sha_short }} \
--namespace=bt \
--set env=dev \
Expand Down

0 comments on commit 7015698

Please sign in to comment.