-
Notifications
You must be signed in to change notification settings - Fork 108
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
v1.9.0 broke pushing multi-architecture images #345
Comments
I ran into this same issue. Based on the documentation and the demonstrated functionality of the resource that it expects to see the
however, it seems that previous versions would accept an exploded tarball as well:
(the above works in 1.8.0 but not in later versions). The problem is that the |
@neodem FYI, the exclusion of See: https://github.com/opencontainers/image-spec/blob/main/image-layout.md Therefore, at least based on this information, |
Related upstream issue: google/go-containerregistry#1756 My investigations so far lend me to an early conclusion that the |
Also see: google/go-containerregistry#1793 |
FYI, I have confirmed things are working for my sample use case on Concourse See: resource_types:
- name: registry-image
type: registry-image
privileged: true
check_every: 24h
source:
repository: concourse/registry-image-resource
tag: 1.9.0
resources:
- name: test-pipeline
type: git
check_every: 24h
webhook_token: concourse
source:
uri: [email protected]:example/example.git
- name: test-image
type: registry-image
source:
repository: us-docker.pkg.dev/example/fly
username: example
password: example
jobs:
- name: test-pipeline
plan:
- get: test-pipeline
trigger: true
- task: build-image-task
privileged: true
config:
platform: linux
image_resource:
type: registry-image
source:
repository: concourse/oci-build-task
inputs:
- name: test-pipeline
outputs:
- name: image
params:
CONTEXT: test-pipeline/exampleDockerfile
IMAGE_PLATFORM: linux/arm64,linux/amd64
OUTPUT_OCI: true
run:
path: build
- put: test-image
params:
image: image/image
version: 0.0.1 |
@tgoodsell-tempus Thanks for looking into this issue and sharing what you found. It is interesting that it works for you. Unfortunately I don't see many differences between your pipeline above and my pipeline that broke with 1.9.0. Here are the non-cosmetic differences I do see:
|
Describe the bug
The support for pushing multi-arch OCI images added in #321 seems to be broken in the new v1.9.0 release published yesterday.
Reproduction steps
concourse/oci-build-task
concourse/registry-image-resource:1.9.0
(specifying the directory created by the above step as described in Add support for building OCI multi-arch images #321.concourse/registry-image-resource:1.8.0
Expected behavior
concourse/registry-image-resource:1.9.0
should work with multi-arch images just as the prior release, or there should be documentation to explain the necessary pipeline changes to get it to work.Additional context
No response
The text was updated successfully, but these errors were encountered: