mirror of
https://github.com/gomods/athens
synced 2026-02-03 09:50:31 +00:00
* poc * finish JSON, remove uneeded methods, update docker file, finish script details * build.Details didn't need to be exported * typo * somehow missed this * should default to false * Fix some things remove commit SHA as build script will now create a hybrid for version as in the push-docker-images.sh script, code shamelessly stolen. change JSON function to Data and return a struct, the caller can do what they like with that data, i.e. marshall JSON for a response body. * add struct tags * use build script in docker image * newline in build.sh * use previously generated version for binary build * Working docker args removed script build.sh, was not really needed. date is generated automatically during docker build process. VERSION will be set to 'Not Specified', or the version set during our CI docker build/push step. A user can set their own version during build using ldflags. * remove old comment re: script * Yikes Almost forgot to remove my testing junk * GitHub on my phone is hard