mirror of
https://github.com/fradelg/docker-mysql-cron-backup.git
synced 2025-06-20 05:39:07 +00:00
Test docker image before pushing to docker hub (#111)
* update dockerize docker instructions * use go with alpine * login to docker hub using action too * test docker image before building * extract command from the entrypoint * change volume path * user docker compose run and cmd instead entrypoint
This commit is contained in:
parent
4be928f6d0
commit
e52061d4fa
3 changed files with 12 additions and 1 deletions
|
@ -44,4 +44,4 @@ VOLUME ["/backup"]
|
|||
HEALTHCHECK --interval=2s --retries=1800 \
|
||||
CMD stat /HEALTHY.status || exit 1
|
||||
|
||||
ENTRYPOINT dockerize -wait tcp://${MYSQL_HOST}:${MYSQL_PORT} -timeout ${TIMEOUT} /run.sh
|
||||
CMD dockerize -wait tcp://${MYSQL_HOST}:${MYSQL_PORT} -timeout ${TIMEOUT} /run.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue