AnubisLMS / IDE

Anubis IDE build configurations
https://about.anubis-lms.io
MIT License
1 stars 2 forks source link

CHG insert commit hashes into builds #6

Open wabscale opened 1 year ago

wabscale commented 1 year ago

Since the images are always built through the makefile, we can do it with the GIT_TAG environment variable. We can pass it to the build containers through a build arg.

We can maybe save the commit as a file to /etc/anubis/COMMIT or something. Maybe add it as an environment variable ANUBIS_IDE_COMMIT or something.