This repository is a playground to show how GitHub Action can build Docker images and push them to GitHub Container Registry.
There are two applications. They are just Nginx container, with a static HTML file.
app_1usesindex.htmlfrom this repository.app_2usesindex2.htmlfrom this repository.
There are two options.
The fastest one is to use the image from the GitHub Container Registry.
docker-compose pull
docker-compose up
And the one, when you want to update some Docker file
docker-compose up --build
Configure the registry in your scheduler, and use the image directly
app_1:ghcr.io/lyrixx/test-app-1app_2:ghcr.io/lyrixx/test-app-2
Each commits on the main branch, each tags, and PRs are tagged.
This project follow the semver convention.
The CI build then upload the image to the GitHub Container Registry.
Then is test that each application returns something