Commit Graph

210 Commits

Author SHA1 Message Date
Lars
0f2dc06cf1 Document usage of ${{ github.actor }} 2020-01-09 06:57:59 +01:00
Lars
e27687c27b Use the Github actor instead of a custom variable 2020-01-09 06:47:10 +01:00
Lars
afe350c38f Use native GITHUB_TOKEN for integration testing 2020-01-04 19:38:11 +01:00
Lars Gohr
a72734e157 Add buildoptions 2.11 2019-12-19 21:13:46 +01:00
Lars Gohr
f1df09237f Document the digest output 2019-12-15 12:20:34 +01:00
Lars Gohr
ae6a789cff Populate digest after push. Refactor tests to use contains for checking 2.10 2019-12-14 19:56:49 +01:00
Lars
be578a6a24 Document helper action for gcloud 2019-11-29 22:01:16 +01:00
Lars Gohr
2b131c1355 Add a way to change the Docker build context 2.9 2019-11-29 14:09:06 +01:00
Lars
6b75d10322 Calm down stale time 2019-11-17 15:32:52 +01:00
gozzarda
4d268c4bb0 Add second trigger to conditional cache example (#50)
For clarity's sake, add a second trigger that will use cache, where scheduled builds don't
2019-11-15 05:46:26 +01:00
Lars Gohr
02076157a9 Simplify caching setup 2.8 2019-11-14 20:20:22 +01:00
Lars Gohr
e8f33163ce Check booleans for falseness 2019-11-14 20:18:40 +01:00
Lars Gohr
76854f3a3e Fix typo 2019-11-09 14:10:00 +01:00
Lars Gohr
e7116c18fd Enhance example for refreshing the cache 2019-11-09 14:09:11 +01:00
Lars
e266c2be4a Update issue templates 2019-11-03 13:26:02 +01:00
Lars
593e1101b4 Decrease stale time 2019-11-03 13:09:12 +01:00
gozzarda
eb1bbf5428 Add note about GitHub Registry path format (#45)
* Add note about GitHub registry path format

* Add link to GitHub docker registry docs
2019-10-30 15:29:41 +01:00
Lars Gohr
691aa852ae Refactor mocking 2019-10-28 20:38:22 +01:00
gozzarda
720c02a9ea Make cache warning more explicit (#44)
* Make cache warning more explicit

* Improve warning clarity
2019-10-26 18:09:14 +02:00
Lars Gohr
a770e120e6 Add tag names 2.7 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 2.6 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 2.5 2019-10-09 12:24:16 +02:00
Lars Gohr
2227c0c989 Because yml is cooler than docker labels, let's use the newest and shiniest action.yml 2.4 2019-10-08 19:30:53 +02:00
Lars
6f6235bed5 Delete action.yml 2019-10-08 17:29:52 +02:00
Lars
55cae956f8 Start to introduce actions.yml 2019-10-08 08:50:01 +02:00
Lars Gohr
a0a2102fcb Add buildargs. Refactor to use functions for better readability 2.3 2019-10-07 20:17:22 +02:00
Lars Gohr
d9e2d3009c Linting 2019-10-05 20:35:03 +02:00
Lars Gohr
4c8e17858f Start using stale 2019-10-05 12:05:38 +02:00
Lars Gohr
7678613fc3 Print a new line initially to handle https://github.com/actions/toolkit/issues/168 2.2 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 2.1 2019-09-30 21:13:47 +02:00
Lars Gohr
19ff29fad0 Formatting 2.0 2019-09-27 22:45:06 +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 1.14 2019-09-27 08:08:20 +02:00
Lars Gohr
1b9fb052a2 Introduce workdir 1.13 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
774950257f Override bins directly with mocks 2019-09-23 20:37:42 +02:00
Lars
2597d7d219 Add hint for AWS ECR 2019-09-22 13:31:12 +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) 1.12 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
b9943cee39 Cache bats test environment 2019-09-15 13:20:03 +02:00
Lars Gohr
3fdaf805af Fix formating 1.11 2019-09-07 21:03:57 +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
Lars Gohr
bbd985b7af Correct string comparison to standard test notation 2019-09-07 14:48:19 +02:00
Renovate Bot
e0635c0c6a Update docker Docker tag to v19.03.2 2019-09-04 21:38:27 +00:00
Lars
08bf6cb7f6 Rearrange README headers so that they're more easy to find 2019-09-01 17:18:57 +02:00
Lars
9b02427c9c Add new badges 2019-09-01 11:45:11 +02:00
Lars
3830a791a3 Remove quotes from custom registry documentation 2019-09-01 11:36:27 +02:00
Lars Gohr
539ac30433 Add Integration test for pushing to Github packages 2019-09-01 11:27:51 +02:00