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

quay.io does not work #87

Closed
drahnr opened this issue Jan 25, 2020 · 3 comments
Closed

quay.io does not work #87

drahnr opened this issue Jan 25, 2020 · 3 comments

Comments

@drahnr
Copy link

drahnr commented Jan 25, 2020

https://ci.spearow.io/teams/main/pipelines/rhapsodize/resources/container

shows a reference to google/go-containerregistry#377 and fails every check due to schema version failures.

I tried to delete and re-create the image/repository/registry but even a new repository did not change anything.

@drahnr
Copy link
Author

drahnr commented Jan 25, 2020

resource script '/opt/resource/check []' failed: exit status 1

stderr:
�[31mERRO�[0m[0000] check failed: get remote image: unsupported MediaType: "application/vnd.docker.distribution.manifest.v1+prettyjws", see https://github.com/google/go-containerregistry/issues/377 

@drahnr
Copy link
Author

drahnr commented Mar 23, 2020

Possibly a duplicate of #38

@drahnr
Copy link
Author

drahnr commented Mar 30, 2020

Screenshot_2020-03-30 create-rust-musl-env #3 - Concourse
For some reason quay.io now works flawlessly 🤷‍♂️

resource_types:
- name: pull-request
  type: registry-image
  source:
    repository: teliaoss/github-pr-resource

- name: buildkit-resource
  type: registry-image
  source:
    repository: vito/oci-build-task

resources:
- name: recipe-rust-musl-env
  type: git
  icon: git
  source:
    branch: master
<SNIP>

jobs:
  - name: create-rust-musl-env
    build_logs_to_retain: 5
    public: true
    serial: true
    plan:
    - get: recipe
      resource: recipe-rust-musl-env
      trigger: true

    - get: timed-trigger
      resource: daily
      trigger: true

    - task: build
      privileged: true

      config:
        platform: linux

        image_resource:
          type: registry-image
          source:
            repository: vito/oci-build-task

        # TODO caching!
        params:
          DOCKERFILE: recipe/Dockerfile.rustmusl

        inputs:
        - name: recipe

        outputs:
        - name: image

        run:
          path: build

    - put: env-rust-musl
      params: {image: image/image.tar}

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

1 participant