Skip to content

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

@adambkaplan

Description

@adambkaplan

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions