ko-build / ko

Build and deploy Go applications
https://ko.build
Apache License 2.0
7.57k stars 398 forks source link

--tags and --tag-only are not respected when --push=false is specified #688

Open adambkaplan opened 2 years ago

adambkaplan commented 2 years ago

Bug Report

When running build, resolve, or apply with --push=false, the -t or --tags and --tag-only options are not respected.

Expected Behavior

When -t or --tags option is used with --push=false, ko produces an image with the tag applied. When the --tag-only option is used with --push=false, image references in ko resolve and ko apply reference images by tag (not sha).

Actual Behavior

Only image shas are used in ko appy/resolve when --push=false.

ko version

v0.11.2

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Keep fresh with the 'lifecycle/frozen' label.