From 591501d31e9e388fc14696fbc6894ab99f90147b Mon Sep 17 00:00:00 2001 From: Arun Date: Tue, 26 Mar 2024 22:52:09 +0530 Subject: [PATCH] action --- .github/workflows/action.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/action.yaml diff --git a/.github/workflows/action.yaml b/.github/workflows/action.yaml new file mode 100644 index 0000000..470f594 --- /dev/null +++ b/.github/workflows/action.yaml @@ -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 }} \ No newline at end of file