File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,8 @@ SAVE_IMAGE:
303303 END
304304 ELSE
305305 ARG EARTHLY_GIT_BRANCH
306- SAVE IMAGE --push "${IMAGE}:${EARTHLY_GIT_BRANCH}${SUFFIX}"
306+ ARG IMAGE_TAG= "$(echo " ${EARTHLY_GIT_BRANCH }" | sed 's|/|_|g')"
307+ SAVE IMAGE --push "${IMAGE}:${IMAGE_TAG}${SUFFIX}"
307308 END
308309 ARG EARTHLY_GIT_HASH
309310 SAVE IMAGE --push "${IMAGE}:${EARTHLY_GIT_HASH}${SUFFIX}"
Original file line number Diff line number Diff line change 11use std:: { process:: Stdio , time:: Duration } ;
22
3- use blue_build_utils:: constants:: SUDO_ASKPASS ;
43use cached:: proc_macro:: cached;
54use colored:: Colorize ;
65use comlexr:: cmd;
@@ -77,7 +76,7 @@ impl super::OciCopy for SkopeoDriver {
7776 } else {
7877 "skopeo"
7978 } ,
80- if use_sudo && blue_build_utils:: has_env_var( SUDO_ASKPASS ) => [
79+ if use_sudo && blue_build_utils:: has_env_var( blue_build_utils :: constants :: SUDO_ASKPASS ) => [
8180 "-A" ,
8281 "-p" ,
8382 format!(
Original file line number Diff line number Diff line change @@ -287,6 +287,8 @@ pub trait RechunkDriver: RunDriver + BuildDriver + ContainerMountDriver {
287287 ) )
288288 . into_diagnostic ( ) ?;
289289
290+ Self :: login ( ) ?;
291+
290292 Self :: build (
291293 & BuildOpts :: builder ( )
292294 . image ( raw_image. to_string ( ) )
You can’t perform that action at this time.
0 commit comments