Commit Graph

30 Commits

Author SHA1 Message Date
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
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
bbd985b7af Correct string comparison to standard test notation 2019-09-07 14:48:19 +02:00
Lars Gohr
c665a8a990 Add caching 2019-08-29 08:35:03 +02:00
Lars
f7980fbb91 Abort publish when an error happens 2019-08-28 20:13:21 +02:00
Lars Gohr
07e6ebee2d Change snapshot tag to contain the date 2019-08-25 19:56:47 +02:00
Lars Gohr
12169ed809 Get Docker Password from StdIn. Should not have been a problem in the past as the containers are thrown away after the run, but lets be sure. 2019-08-24 00:00:35 +02:00
Lars Gohr
7f8a8d4a00 Add checks for mandatory fields 2019-08-23 00:49:49 +02:00
Lars Gohr
505b28d941 Add docker login and logout, due to the data is not passed from the previous step. Remove old workflow, as it's not backward compatible. Use name instead of args for the image name 2019-08-22 22:07:56 +02:00
Lars Gohr
e541342d5d From buildlog it looks like the commit sha is also accessible from GITHUB_SHA. Lets try this, for making it more easy. 2019-08-22 07:24:38 +02:00
Lars Gohr
3730249596 Looks like git is capitalizing the environment variables. So lets shout when build. 2019-08-22 07:22:06 +02:00
Lars Gohr
eb9cfa9de0 Add option to specify a Dockerfile 2019-08-21 22:41:46 +02:00
Lars Gohr
5084055330 Add snapshot image push 2019-08-21 22:23:44 +02:00
Lars Gohr
215d3ea744 Stabilize and handle releases 2019-02-27 13:57:10 +01:00
Lars Gohr
7630bac24f Remove outputs 2019-02-24 20:38:26 +01:00
Lars Gohr
9c03c55e57 Fix references 2019-02-24 20:34:41 +01:00
Lars Gohr
2398d45124 Print repository 2019-02-24 20:24:09 +01:00
Lars Gohr
40f81bf012 Print variables 2019-02-24 20:20:19 +01:00
Lars Gohr
24e44a6fad Init 2019-02-24 20:18:32 +01:00