rootwyrm / talecaster

TaleCaster application server - bringing ALL your media to you.
Other
3 stars 2 forks source link

(Docker) Fix build hooks #9

Open rootwyrm opened 6 years ago

rootwyrm commented 6 years ago

Build hooks are not currently working and I forgot how I got them working. Need to fix them.

rootwyrm commented 6 years ago

pre_build confirmed as fixed by https://github.com/rootwyrm/tc_docker/commit/8d572173e025b0de38dcc2e4887971fca4ad8ec6

However, this would require making the change to every Docker build individually which violates the centralization principle.

Preliminary thought;

pre_build:
#!/bin/bash

curl https://$TALECASTER_REPO/docker/hooks/pre_build | sh

build hook is still depressingly inadequate though. I'm not going to be happy with that till it properly tags version. I also need to clean up the variables to be more obvious to myself. Wasted a good 5 minutes having to reference back and forth, and that's no good at all.

rootwyrm commented 3 years ago

Bringing in hooks from dns_docker has solved for many, but still have a Docker Hub cleanup issue that rears it's head with multi-platform in the workflow.