-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Arun
committed
Mar 26, 2024
1 parent
8be2336
commit 591501d
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
|
||
name: Monitoring Pipeline | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
ECR_REGION: us-east-2 | ||
ECR_REPO: 956994857092.dkr.ecr.us-east-2.amazonaws.com | ||
CHART_NAME: kube-prometheus-stack | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Authenticate ECR public authenticate | ||
shell: bash | ||
run: | | ||
aws ecr-public get-login-password --region ${{ env.ECR_REGION }} | helm registry login --username AWS --password-stdin ${{ inputs.ECR_REPO }} | ||
helm package accuknox-* | ||
helm push accuknox-* oci://${{ env.ECR_REPO }} |