-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: disable push into :latest tag (#12)
BREAKING CHANGE: no longer pushes latest tag without a special flag of `--tag_latest`
- Loading branch information
Showing
2 changed files
with
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Disable push using `:latest` tag | ||
|
||
## Overview and Motivation | ||
`docker deploy/release/` command pushes images with `baseTag:latest` tag into Docker Hub. | ||
This happens even if we built a beta or alpha version of the image. If the project has docker image dependency without version tag, | ||
this beta image will be used. | ||
|
||
## `--tag_latest [false]` param | ||
New `--tag_latest` param(defaults to false) instruct `deploy` command to add `${baseTag}:latest` tag to the image. | ||
Otherwise `:latest` tag not assigned to the image. |