From 83ea588f76a357b29fe3109ddcf6c47474f17b33 Mon Sep 17 00:00:00 2001 From: Fred Heinecke Date: Wed, 6 Mar 2024 15:00:29 -0600 Subject: [PATCH] Set env for IF --- Earthfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Earthfile b/Earthfile index 74a1317..ae0a970 100644 --- a/Earthfile +++ b/Earthfile @@ -179,12 +179,12 @@ release: ARG NATIVEARCH # Only require this when `--push` is set to allow for local testing + FROM --platform="linux/$NATIVEARCH" alpine:3.19.0 IF [ $EARTHLY_PUSH ] ARG --required GH_TOKEN END # Create GH release and upload artifact(s) - FROM --platform="linux/$NATIVEARCH" alpine:3.19.0 # Unfortunately GH does not release a container image for their CLI, see https://github.com/cli/cli/issues/2027 RUN apk add github-cli WORKDIR /release_artifacts