Skip to content

Commit

Permalink
Merge commit '6262db01d078a7d5c17286014509804ec7cf272e'
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcb committed Apr 22, 2024
2 parents b59b70d + 6262db0 commit 3d27390
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions tests/registry-certs/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ DO_REMOTE_CACHE_EARTHLY:
RUN --privileged \
--mount=type=tmpfs,target=/tmp/earthly \
-- \
EARTHLY_ADDITIONAL_BUILDKIT_CONFIG=$EARTHLY_ADDITIONAL_BUILDKIT_CONFIG$REGISTRY_CONFIG \
/usr/bin/earthly-entrypoint.sh --ci --push \
( EARTHLY_ADDITIONAL_BUILDKIT_CONFIG=$EARTHLY_ADDITIONAL_BUILDKIT_CONFIG$REGISTRY_CONFIG \
/usr/bin/earthly-entrypoint.sh --ci --push \
--build-arg REGISTRY=$REGISTRY \
$target 2>&1 | tee ./output
$target; echo exit_code=$? \
) 2>&1 | tee ./output && \
if ! tail -n 1 output | grep 'exit_code=0'; then \
echo "ERROR: earthly failed (exit_code=0 not found)" && tail -n 1 output && exit 1; \
fi
2 changes: 1 addition & 1 deletion tests/registry-certs/test.earth
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION 0.8

ARG REGISTRY
ARG --global REGISTRY

test-push:
FROM alpine:3.18
Expand Down

0 comments on commit 3d27390

Please sign in to comment.