Skip to content

Commit

Permalink
ci: should force image streams to always point to correct pr sha (#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Jan 11, 2024
1 parent ddc0811 commit 2214de6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,11 @@ jobs:
helm uninstall ${{ env.repo_release }}
fi
# Clean previous image, if any
if [[ ${{inputs.environment}} == 'dev' ]]; then
helm uninstall ${{ env.repo_release }} || true
fi
# Deploy Helm release
helm dependency update
helm upgrade \
Expand All @@ -201,7 +206,7 @@ jobs:
--set-string global.zone=${{ inputs.environment }} \
--set-string global.vault.role=${{ inputs.vault_role }} \
--set-string global.vault.zone=${{ inputs.vault_zone }} \
--install --wait --atomic ${{ inputs.repository }}-${{ inputs.release }} \
--install --wait --atomic ${{ env.repo_release }} \
--timeout 10m --force \
--values ${{ inputs.values }} \
${{ inputs.params }} .
Expand Down

0 comments on commit 2214de6

Please sign in to comment.