Commit Graph

66 Commits

Author SHA1 Message Date
Lars Gohr
ac21f5d46d ⬆️ Remove backward compatibility for set-output
See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-11-30 20:54:30 +01:00
Lars Gohr
33a481be3e 📝 Improve documentation. Add reference to docker/setup-buildx-action 2022-08-05 23:27:46 +02:00
Lars Gohr
449d04fc88 📝 Add documentation for using platforms
Finally fixes https://github.com/elgohr/Publish-Docker-Github-Action/issues/106
2022-08-05 23:12:17 +02:00
Chan
b5ff59aed7 actions/checkout@v4 not available (#161) 2022-06-24 22:13:51 +02:00
Lars Gohr
46319fa950 🐛 Use old url for badge
As new url doesn't work correctly
2022-04-15 19:24:02 +02:00
Lars Gohr
7b9d492320 📝 Fix Badge 2022-04-14 20:22:30 +02:00
Lars Gohr
474524bd74 👷 Automate release process. Restructure workflows 2022-04-14 17:51:41 +02:00
Lars Gohr
b3a06d90fd 🚀 Use composite action for increasing speed and enabling new
features
2022-04-09 20:57:20 +02:00
Lars
975ca28fe8 Use the non-deprecated registry and the GITHUB_TOKEN in the example
So it works real quick.
2021-08-06 15:55:26 +02:00
elgohr
184d5f4bcf ♻️ Remove platforms options
Platform was in beta and turned out not to be usable.
This still needs some tinkering with Github actions, but this wouldn't happen here.
See https://github.com/actions/virtual-environments/issues/3090
2021-04-13 11:38:35 +02:00
Lars Gohr
13c6c46d98 Support building multi-platform images 2021-04-01 22:58:14 +02:00
Lars
e6b13fed50 📝 Adapt set-env deprecation for example
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-11-08 20:05:39 +01:00
Lars Gohr
5265d00add 📝 Correct example 2020-09-01 21:15:40 +02:00
Lars Gohr
a8927fa25a 📝 Add hints for Github Container Registry 2020-09-01 21:12:34 +02:00
Lars Gohr
d8fded1799 Introduce default_branch 2020-09-01 21:03:23 +02:00
Lars Gohr
cc40c79473 Add feature for building an image without pushing it to a registry 2020-08-29 21:52:51 +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
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
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
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 2020-01-13 20:54:54 +01:00
Lars
0f2dc06cf1 Document usage of ${{ github.actor }} 2020-01-09 06:57:59 +01:00
Lars Gohr
a72734e157 Add buildoptions 2019-12-19 21:13:46 +01:00
Lars Gohr
f1df09237f Document the digest output 2019-12-15 12:20:34 +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 2019-11-29 14:09:06 +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 2019-11-14 20:20:22 +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
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
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 2019-10-18 22:06:08 +02:00
Lars Gohr
a0a2102fcb Add buildargs. Refactor to use functions for better readability 2019-10-07 20:17:22 +02:00
Lars Gohr
d9e2d3009c Linting 2019-10-05 20:35:03 +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
19ff29fad0 Formatting 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 2019-09-27 08:08:20 +02:00
Lars Gohr
1b9fb052a2 Introduce workdir 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
3fdaf805af Fix formating 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
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
c665a8a990 Add caching 2019-08-29 08:35:03 +02:00
Lars Gohr
07e6ebee2d Change snapshot tag to contain the date 2019-08-25 19:56:47 +02:00
Lars
075fcde19c It can publish to wherever 2019-08-22 22:15:59 +02:00