Skip to content

NitMedia/aws-ecr-eks-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# NitMedia

This is a github action to help with building aws ecr images and deploying to a eks cluster

## Secrets needed to setup

AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_REGION

## How to use the action

    - name: Setup AWS
      uses: NitMedia/aws-ecr-eks-action@master
      secrets: ["AWS_REGION","AWS_ACCESS_KEY_ID","AWS_SECRET_ACCESS_KEY","KUBE_CONFIG_DATA"]
      with:
        ECR_REGISTRY: ***.dkr.ecr.us-east-1.amazonaws.com
        ECR_REPOSITORY: test-repo
        IMAGE_TAG: ${{ github.sha }}

    - name: Deploy Dev
      if: github.ref != 'refs/heads/master'
      run: |
       # Apply configuration to cluster
       export KUBECONFIG="${RUNNER_TEMP}/.kube/config"
       # then use kubectl

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published