Commit Graph

18 Commits

Author SHA1 Message Date
Lars Gohr
2b131c1355 Add a way to change the Docker build context 2019-11-29 14:09:06 +01:00
Lars Gohr
e8f33163ce Check booleans for falseness 2019-11-14 20:18:40 +01:00
Lars Gohr
691aa852ae Refactor mocking 2019-10-28 20:38:22 +01:00
Lars Gohr
a770e120e6 Add tag names 2019-10-18 22:06:08 +02:00
Lars Gohr
cade1bc239 Remove protocol from custom registry for setting in the name and checking in the name 2019-10-10 22:02:23 +02:00
Lars Gohr
1133a364e4 Prefix the name with the custom docker registry if not already present. Fixes https://github.com/elgohr/Publish-Docker-Github-Action/issues/33 2019-10-09 12:24:16 +02:00
Lars Gohr
a0a2102fcb Add buildargs. Refactor to use functions for better readability 2019-10-07 20:17:22 +02:00
Lars Gohr
7678613fc3 Print a new line initially to handle https://github.com/actions/toolkit/issues/168 2019-10-01 22:55:34 +02:00
Lars Gohr
081fbdad65 Restructure entrypoint to group tagging in a function to make it more clear. Use custom tag, if configured in the name 2019-10-01 22:24:13 +02:00
Lars Gohr
6b9504b15a Remove pull-request error, as it does not build to latest and the risk to go to production is low 2019-09-30 21:13:47 +02:00
Lars Gohr
593f4cbc3c Publish tag as output. Use github sha to tag pull requests 2019-09-27 22:43:22 +02:00
Lars Gohr
a5b5841bae Publish snapshot tag as an output for later use 2019-09-27 08:08:20 +02:00
Lars Gohr
1b9fb052a2 Introduce workdir 2019-09-23 20:37:42 +02:00
Lars Gohr
42252004bb Make stubs more explicit 2019-09-23 20:37:42 +02:00
Lars Gohr
2684231638 Fix breaking builds when the cached image was not there with tests (https://github.com/elgohr/Publish-Docker-Github-Action/pull/20) 2019-09-15 13:50:26 +02:00
Lars Gohr
073c9a9c0e Fix https://github.com/elgohr/Publish-Docker-Github-Action/issues/22 2019-09-15 13:20:39 +02:00
Lars Gohr
a48ee1845e Add option for building pull requests 2019-09-07 21:02:59 +02:00
Lars Gohr
91a3945f7b Use bats to clean up tests and remove complexity 2019-09-07 20:41:35 +02:00