Skip to content
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

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

Open
xcfw opened this issue Jan 11, 2023 · 1 comment

Comments

@xcfw
Copy link

xcfw commented Jan 11, 2023

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
@akhilerm
Copy link
Owner

Is the image that you are trying to copy to registry.heroku.com available in ghcr.io

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants