A set of custom docker images used in the CI with the TheXTech project for convenience.
Type these command at each container's directory.
docker-compose build
If something went wrong, just burn everything and build it from the ground up!
docker-compose down -v --rmi all --remove-orphans
When pubinshing an update, need to type this:
docker push ghcr.io/thextech/<name-of-service>:latest
- Get a classic GitHub's access tocken first with the permission to "packages write" and "packages delete". Make it being non-expiring.
- Remember the tocken.
- Login
docker login ghcr.io -u <your-username>
with the command and pasting token as a password - And now, do publishing or deleting of containers.
When writing a YML file for the CI thing, you can add the container
field that will contain the name of the container in next format:
container: "<name of container>:latest",
Example:
container: "ghcr.io/thextech/wohlnet-ci-ubuntu1604-32bit:latest",