Commit Graph

330 Commits

Author SHA1 Message Date
Lars
2e38abd842 Start to test PRs for fast feedback 2020-06-25 20:34:35 +02:00
Ari Kalfus
5d8ac991f5 Add missing buildoptions from README to action.yml
Fixes #90
2.17
2020-06-04 12:18:31 +02:00
Lars Gohr
bae033eb56 Remove function from tests as this is no shell 2020-05-24 12:27:08 +02:00
Tobias Pieri
014155fcaa Automatically lowercasing registry and image name (#86)
* make name lowercase

* Calling toLower

* fixed typo in lowercase method

* Also lowering registry input

* Update test.bats

Adapted tests

* Fixed last Upercases

* Linting

Co-authored-by: Lars Gohr <larsgohr@posteo.de>
2020-05-24 12:24:52 +02:00
Lars
c1a23962ec Correct name in license 2020-05-23 10:35:07 +02:00
Lars Gohr
b96d0ec55c Make sure that username and password are masked, before turning on verbose 2.16 2020-05-19 21:28:45 +02:00
Lars Gohr
2d6b8f33b6 Remove 'function' as this is not bourne shell. Escaping. 2020-05-19 21:19:21 +02:00
Lars Gohr
554d1b7c0e Be verbose on ACTIONS_STEP_DEBUG 2020-05-19 21:06:16 +02:00
Lars
508d4eee28 Correct mixed up documentation 2020-05-17 20:05:20 +02:00
Lars
fbbcb17592 Add tags 2.15 2020-05-16 22:31:34 +02:00
Richard Simko
89167c6f66 Fixed Docker hub release (#82)
* Fixed Docker hub release

* Tag semver during integration tests

* Moved tagging of versions into integration test workflow
2020-05-02 20:38:48 +02:00
Richard Simko
61999990dc Release version tags to Docker Hub (#81)
* Release version tags to Docker Hub

* Use tag_names as GITHUB_REF is not a valid tag

Co-authored-by: Lars <elgohr@users.noreply.github.com>
2020-05-02 20:03:58 +02:00
Luis Garcia
7f86a5d8e1 Update README: Add how to use dynamic tag names (#76)
* README: How to use dynamic tag names

Co-authored-by: Lars <elgohr@users.noreply.github.com>
2020-04-05 22:12:36 +02:00
Lars Gohr
b2f63259b4 Support semver pre-releases (https://semver.org/#spec-item-11) 2.14 2020-03-24 19:48:01 +01:00
Lars
2da252bbb1 Make tagging more clear (https://github.com/elgohr/Publish-Docker-Github-Action/issues/70) 2020-03-21 13:03:40 +01:00
Roy Bongers
b82ad077c0 Add semver support when using git tags (#69)
* Add semver tag support

* Allow tag_names to be a fallback for tag_semver
2.13
2020-03-03 19:48:59 +01:00
Lars
a11682167c Undeprecate tag_names due to much more complex when using tags 2020-02-15 20:05:58 +01:00
Lars
7914449485 Create FUNDING.yml 2020-01-18 22:12:26 +01:00
Nicolas R
68c8c5bc4e Add a comment about 2FA for password
As mentioned in #41 we can also use a token
instead of a password. This commit documents
this behavior to avoid digging in the code/issues...
2020-01-17 07:21:11 +01:00
Lars Gohr
a6e48211ae Introduce tags. Deprecate tag_names 2.12 2020-01-13 20:54:54 +01:00
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