Skip to content

Commit

Permalink
fix: add missing get-reference-base script for select-oci-auth (#341)
Browse files Browse the repository at this point in the history
`select-oci-auth` stopped working when the oras image ref
was updated to the latest one.

The `select-oci-auth` in the oras-container repo was refactored
and part of the logic was moved to a new `get-reference-base`
script, which it uses. So we need to add that script.

Related PR:
konflux-ci/oras-container#133

Signed-off-by: Martin Malina <[email protected]>
  • Loading branch information
mmalina authored Dec 12, 2024
1 parent 6b3fe0f commit 597145c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ RUN curl -L https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_

COPY --from=oras /usr/bin/oras /usr/bin/oras
COPY --from=oras /usr/local/bin/select-oci-auth /usr/local/bin/select-oci-auth
COPY --from=oras /usr/local/bin/get-reference-base /usr/local/bin/get-reference-base
COPY --from=cosign /usr/local/bin/cosign /usr/local/bin/cosign

RUN dnf -y --setopt=tsflags=nodocs install \
Expand Down

0 comments on commit 597145c

Please sign in to comment.