Skip to content

Failed to copy index: PUT on manifest file when copying dockerimage from ghcr to heroku #299

@xcfw

Description

@xcfw

I see this error:

Error: failed to copy index: PUT https://registry.heroku.com/v2/something-app/worker/manifests/sha256:235kj43klj53kljlksgdfjsdjgij428010jfaqpoirjfanvkagj48g590q: UNSUPPORTED: The operation is unsupported.
panic: exit status 1

goroutine 1 [running]:
main.main()
	/go/src/github.com/akhilerm/repo-copy/main.go:20 +0x15a
Error: The process '/usr/bin/docker' failed with exit code 2

When performing this steps:

     - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
        with:
          version: latest
          install: true
 
     - name: Login Heroku-Registry
        uses: docker/login-action@v2
        with:
          registry: 'registry.heroku.com'
          username: ${{ something.HEROKU_UIGUR_LOGIN }}
          password: ${{ something.HEROKU_KLYUCH }}

      - name: Copy Something image from GHCR to Heroku
        uses: akhilerm/tag-push-action@v2.1.0
        with:
          src: ghcr.io/something/${{ github.ref_name }}/something:${{ env.SOMETHING_SHA }}
          dst: |
            registry.heroku.com/${{ env.HEROKU_APP }}/worker:latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions