Skip to content

bundle copy ignore --docker-config while pulling image #6755

@Ivan-Baranov

Description

@Ivan-Baranov

Before proceeding

  • I didn't find a similar issue

Version

2.34.1

How to reproduce

werf cr login --docker-config=import --username json_key --password-stdin cr.yandex
werf bundle copy --docker-config=import --from cr.yandex/cr-my/final:25.4.1 --to archive:my-app-25.4.1.tgz

Result

Version: v2.34.1
┌ Copy bundle
│ From: cr.yandex/cr-my/final:25.4.1
│ To: my-app-25.4.1.tgz
│ ┌ Pulling bundle cr.yandex/cr-my/final:25.4.1
│ │ Secrets decryption disabled
│ │ 25.4.1: Pulling from cr.yandex/cr-my/final
│ │ Secrets decryption disabled
│ │ ref:     cr.yandex/cr-my/final:25.4.1
│ │ digest:  49be1e...
│ │ size:    6.8 KiB
│ │ name:    my-app
│ │ version: 25.4.1
│ │ Status: Chart is up to date for cr.yandex/cr-my/final:25.4.1
│ └ Pulling bundle cr.yandex/cr-my/final:25.4.1 (0.40 seconds)
│
│ ┌ Loading bundle cr.yandex/cr-my/final:25.4.1
│ │ Secrets decryption disabled
│ │ ref:     cr.yandex/cr-my/final:25.4.1
│ │ digest:  49be1e...
│ │ size:    6.8 KiB
│ │ name:    my-app
│ │ version: 25.4.1
│ └ Loading bundle cr.yandex/cr-my/final:25.4.1 (0.00 seconds)
│
│ ┌ Saving bundle cr.yandex/cr-my/final:25.4.1 into archive
│ └ Saving bundle cr.yandex/cr-my/final:25.4.1 into archive (0.00 seconds)
│
│ Saving image cr.yandex/cr-my/final:385caa...-1743508551424
└ Copy bundle (1.09 seconds) FAILED

Running time 1.10 seconds
Error: error pulling image "cr.yandex/cr-my/final:385caa...-1743508551424" archive:
  getting reference "cr.yandex/cr-my/final:385caa...-1743508551424":
    GET https://cr.yandex/v2/cr-my/final/manifests/385caa...-1743508551424:
      DENIED: Permission denied ; requestId =

Expected result

Bundle copied.

Additional information

If run without --docker-config key -- all ok.

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