Commit Graph

301 Commits

Author SHA1 Message Date
dependabot[bot]
6b16772a3d Merge pull request #133 from elgohr/dependabot/docker/docker-20.10.8 2021-08-10 18:31:30 +00:00
dependabot[bot]
93fcc63576 Bump docker from 20.10.7 to 20.10.8
Bumps docker from 20.10.7 to 20.10.8.

---
updated-dependencies:
- dependency-name: docker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 18:30:44 +00:00
Lars Gohr
a3adbc82de ♻️ Run integration tests only on master 2021-08-10 20:29:34 +02:00
Lars Gohr
dd66900e4d 👷 Switch to dependabot 2021-08-10 20:23:45 +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
Renovate Bot
4601b32fbc Update docker Docker tag to v20.10.7 2021-06-04 00:40:01 +00:00
Lars Gohr
191af57e15 ⬆️ Upgrade to Docker 20.10.6 3.04 2021-04-27 21:03:22 +02:00
elgohr
be0a327a5b 🦠 For corona reasons extending the stale bot. 2021-04-13 11:41:38 +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 3.03 2021-04-01 22:58:14 +02:00
Casper da Costa-Luis
f7aca2fea7 no_push can be used without login (#111)
- fixes #110
3.02
2020-12-15 08:44:30 +01:00
Lars Gohr
5e568ddac4 Don't update major, minor and patch version on pre-release
Fixes https://github.com/elgohr/Publish-Docker-Github-Action/issues/108
3.01
2020-11-15 20:16:27 +01: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
b1253b2edf Support new default branch
See https://github.com/github/renaming#on-october-1-2020-newly-created-repositories-will-default-to-main
2.22
2020-09-20 19:40:12 +02:00
Lars Gohr
5265d00add 📝 Correct example 2020-09-01 21:15:40 +02:00
Lars Gohr
a8927fa25a 📝 Add hints for Github Container Registry 2.21 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 2.20 2020-08-29 21:52:51 +02:00
Lars Gohr
94e33a1557 Add test for more complex passwords 2020-08-29 21:24:51 +02:00
Lars Gohr
8e555d3d73 Fixes https://github.com/elgohr/Publish-Docker-Github-Action/issues/98 2.19 2020-07-30 21:12:21 +02:00
Shouichi Kamiya
780fbae7f4 Fix semver regex to match multi digits minor version (#95)
* Fix semver regex to match multi digits minor version

The new regex matches multi digits minor version such as v0.10.0.

Close https://github.com/elgohr/Publish-Docker-Github-Action/issues/94.

* Add test for multi digits semver
2.18
2020-06-25 20:39:13 +02:00
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