Skip to content

action

action #8

Workflow file for this run

on:
push:
branches:
- '*'
name: Accuknox-Job Pipeline
jobs:
deploy:
runs-on: ubuntu-latest
env:
ECR_REGION: us-east-1
ECR_REPO: public.ecr.aws/k9v9d5v2
# CHART_NAME: kube-prometheus-stack
steps:
- uses: actions/checkout@v2
- name: AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: ${{ env.ECR_REGION }}
aws-access-key-id: ${{ secrets.AWS_DEV_ACCESS_ID }}
aws-secret-access-key: ${{ secrets.AWS_DEV_SECRET_ID }}
- 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 ${{ env.ECR_REPO }}
helm package accuknox-*
helm push accuknox-* oci://${{ env.ECR_REPO }}