forked from garmin/pyrex
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When building docker images locally, it is possible to accidentally overwrite a released tag due to improper configuration. This isn't a good idea because it can cause a lot of confusion when the locally tagged image is no longer the same as the image that would be pulled down by from the registry. Prevent this by checking if the tag looks like a release tag, and erroring out with a helpful messages instead of overwriting it.
- Loading branch information
1 parent
5326992
commit cbb6b21
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters