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_CREDENTIALS
of service principal with access to resources - Secret:
PERSONAL_ACCESS_TOKEN
to trigger GitHub Workflows in the environment Repository - Variable:
REGISTRY_USERNAME
for the container image registry repository - Secret:
REGISTRY_PASSWORD
for the container image registry token - Variable:
REGISTRY_LOGIN_SERVER
for 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