Skip to content

Commit

Permalink
📖 Add instructions to use the image with GitHub workflow
Browse files Browse the repository at this point in the history
📖 Add instructions to use the image with the GitHub workflow
  • Loading branch information
dinushchathurya committed Aug 18, 2023
2 parents 844c8e0 + 53b040f commit aaae3c4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,31 @@ stage('Package Helm Chart') {
}
```
Sample GitHub Workflow

```yaml
steps:

- name: Setup AWS Credentials
uses: aws-actions/configure-aws-credentials@v2.2.0
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} // AWS Access Key ID in GitHub Secrets
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} // AWS Secret Access Key in GitHub Secrets
aws-region: ${{ secrets.REGION_CODE }} // REGION_CODE in GitHub Secrets

- name: Deploy Helm Chart
uses: docker://projectoss/eks-helm-client:latest
env:
REGION_CODE: <your-region-code>
CLUSTER_NAME: <your-cluster-name>
with:
args: >
bash -c "
helm repo add bitnami https://charts.bitnami.com/bitnami;
helm repo update;
helm install bitnami/mysql --generate-name
"
```
## Contributing
Expand Down

0 comments on commit aaae3c4

Please sign in to comment.