From e824fa824d087cbf68fded46e0eef809fa58239d Mon Sep 17 00:00:00 2001 From: Itxaka Date: Thu, 27 Jul 2023 18:48:52 +0200 Subject: [PATCH] Update repo job To take into account both files Signed-off-by: Itxaka --- Earthfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Earthfile b/Earthfile index da52208..935987b 100644 --- a/Earthfile +++ b/Earthfile @@ -16,7 +16,10 @@ bump-repositories: COPY +last-commit-packages/REPO_ARM64 REPO_ARM64 ARG REPO_AMD64=$(cat REPO_AMD64) ARG REPO_ARM64=$(cat REPO_ARM64) - COPY tools-image/luet.yaml luet.yaml - RUN yq eval ".repositories[0] |= . * { \"reference\": \"${REPO_AMD64}\" }" -i luet.yaml - RUN yq eval ".repositories[1] |= . * { \"reference\": \"${REPO_ARM64}\" }" -i luet.yaml - SAVE ARTIFACT luet.yaml AS LOCAL tools-image/luet.yaml + COPY tools-image/luet-amd64.yaml luet-amd64.yaml + COPY tools-image/luet-arm64.yaml luet-arm64.yaml + RUN yq eval ".repositories[0] |= . * { \"reference\": \"${REPO_AMD64}\" }" -i luet-amd64.yaml + RUN yq eval ".repositories[0] |= . * { \"reference\": \"${REPO_ARM64}\" }" -i luet-arm64.yaml + SAVE ARTIFACT luet-arm64.yaml AS LOCAL tools-image/luet-arm64.yaml + SAVE ARTIFACT luet-amd64.yaml AS LOCAL tools-image/luet-amd64.yaml +