This is an application repository to perform Operations on Pull Request via an environment repository. It runs a GitHub Workflow to build a container image on a new release, and triggers a workflow in the environment repository to create a pull request with the new application version.
- Secret:
AZURE_CREDENTIALSof service principal with access to resources - Secret:
PERSONAL_ACCESS_TOKENto trigger GitHub Workflows in the environment Repository - Variable:
REGISTRY_USERNAMEfor the container image registry repository - Secret:
REGISTRY_PASSWORDfor the container image registry token - Variable:
REGISTRY_LOGIN_SERVERfor the container image registry token
docker build -t app .
docker run -p 8080:8080 app
curl localhost:8080 kubectl port-forward svc/example-application 8080:8080
curl localhost:8080