Skip to content

Commit 4d9c7ca

Browse files
authored
Simplify image saving logic in Earthfile (#503)
Remove ARG declaration for IMAGE_TAG in Earthfile.
1 parent 0fc4d83 commit 4d9c7ca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Earthfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -880,8 +880,7 @@ iso-image:
880880

881881
# Only push image if not building for MAAS (MAAS uses local image via --load)
882882
IF [ "$IS_MAAS" = "false" ]
883-
ARG IMAGE_TAG
884-
SAVE IMAGE --push palette-installer-image:$IMAGE_TAG
883+
SAVE IMAGE palette-installer-image:$IMAGE_TAG
885884
ELSE
886885
SAVE IMAGE index.docker.io/library/palette-installer-image:latest
887886
END

0 commit comments

Comments
 (0)