Skip to content

A collection of scripts to build Docker images for use by CI builds

License

Notifications You must be signed in to change notification settings

TheXTech/thextech-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A set of custom docker images used in the CI with the TheXTech project for convenience.

Developer notes

Type these command at each container's directory.

Build an image:

docker-compose build

Clean-up everything to build from the scratch

If something went wrong, just burn everything and build it from the ground up!

docker-compose down -v --rmi all --remove-orphans

Publishan image

When pubinshing an update, need to type this:

docker push ghcr.io/thextech/<name-of-service>:latest

Before to publish, need to login

  • 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.

Using published image in the CI

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",

About

A collection of scripts to build Docker images for use by CI builds

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages