Skip to content

Commit e824fa8

Browse files
authored
Update repo job
To take into account both files Signed-off-by: Itxaka <[email protected]>
1 parent 98f867f commit e824fa8

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Earthfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ bump-repositories:
1616
COPY +last-commit-packages/REPO_ARM64 REPO_ARM64
1717
ARG REPO_AMD64=$(cat REPO_AMD64)
1818
ARG REPO_ARM64=$(cat REPO_ARM64)
19-
COPY tools-image/luet.yaml luet.yaml
20-
RUN yq eval ".repositories[0] |= . * { \"reference\": \"${REPO_AMD64}\" }" -i luet.yaml
21-
RUN yq eval ".repositories[1] |= . * { \"reference\": \"${REPO_ARM64}\" }" -i luet.yaml
22-
SAVE ARTIFACT luet.yaml AS LOCAL tools-image/luet.yaml
19+
COPY tools-image/luet-amd64.yaml luet-amd64.yaml
20+
COPY tools-image/luet-arm64.yaml luet-arm64.yaml
21+
RUN yq eval ".repositories[0] |= . * { \"reference\": \"${REPO_AMD64}\" }" -i luet-amd64.yaml
22+
RUN yq eval ".repositories[0] |= . * { \"reference\": \"${REPO_ARM64}\" }" -i luet-arm64.yaml
23+
SAVE ARTIFACT luet-arm64.yaml AS LOCAL tools-image/luet-arm64.yaml
24+
SAVE ARTIFACT luet-amd64.yaml AS LOCAL tools-image/luet-amd64.yaml
25+

0 commit comments

Comments
 (0)