-
-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: implement oci_push #38
Conversation
|
||
while (( $# > 0 )); do | ||
case $1 in | ||
(-t|--tag) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: ordering of the flag handling is reversed between tag
and repository
with -t|--tag
and then --tags=*
for tag and --repository=*
and -r|--repository
for repository
repository = "ghcr.io/<OWNER>/image", | ||
default_tags = ["6.4.1-rc1"] | ||
) | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should mention that you need to bazel run
to push and that the tool accepts -r|--repository
and -t|--tag
flags so you can set the repository & tag at runtime. For tag this is particularly useful since when pushing semver versions users probably want the version to come from the latest tag on the repository and not be hard-coded in the BUILD file.
closes #19