zepor / NFLSTATS

MIT License
2 stars 2 forks source link

Add workflow to deploy to AKS #12

Closed zepor closed 11 months ago

zepor commented 11 months ago

Add workflow to deploy to AKS

codeautopilot[bot] commented 11 months ago

PR summary

The Pull Request introduces a new GitHub Actions workflow named fedeploy that automates the deployment of a containerized application to Azure Kubernetes Service (AKS). The workflow triggers on pushes to the main branch or can be manually dispatched. It consists of two jobs: buildImage and deploy.

The buildImage job logs into Azure, builds a Docker image from a Docker Compose file, and pushes it to Azure Container Registry (ACR) using the commit SHA as the image tag.

The deploy job, which depends on buildImage, also logs into Azure, sets up Kubernetes context for the AKS cluster, and uses Helm to deploy the application to AKS with overrides specified for the container image repository and tag.

Suggestion