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

chore(berglas) update berglas distribution method #96

Merged
merged 1 commit into from
Sep 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions dockerscripts/Dockerfile.circle
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# syntax=docker/dockerfile:1.3
ARG REQUIREMENTS_IMAGE
FROM busybox:1.34.1 as berglas
WORKDIR /tmp
ADD https://storage.googleapis.com/berglas/0.5.0/linux_amd64/berglas berglas
RUN echo "99dc4b3146d19b7e36cc6d339eeefa6a959a6d86143b7317e722d09a3b57ca45 berglas" | sha256sum -c
ARG BERGLAS_VERSION=1.0.3
FROM us-docker.pkg.dev/berglas/berglas/berglas:$BERGLAS_VERSION as berglas


FROM $REQUIREMENTS_IMAGE
Expand All @@ -12,7 +10,7 @@ ARG RELEASE_VERSION

ENV RELEASE_VERSION $RELEASE_VERSION

COPY --chmod=755 --from=berglas /tmp/berglas /usr/local/bin/berglas
COPY --chmod=755 --from=berglas /bin/berglas /usr/local/bin/berglas

USER codecov

Expand Down
Loading