Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ VERSION 0.8

IMPORT github.com/blue-build/earthly-lib/rust AS rust

FROM docker.io/library/alpine:latest@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b
FROM docker.io/library/alpine:latest@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6
ARG --global SUFFIX_LIST="- distrobox installer"
ARG --global EARTH_GIT_PROJECT_NAME
ARG --global EARTH_GIT_HASH
Expand Down Expand Up @@ -196,7 +196,7 @@ blue-build-cli-prebuild:
SAVE IMAGE --push "$IMAGE:$EARTH_GIT_HASH-prebuild-$TARGETARCH"

blue-build-cli:
FROM docker.io/library/alpine:latest@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b
FROM docker.io/library/alpine:latest@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6
ARG RELEASE
ARG TARGETARCH

Expand All @@ -213,7 +213,7 @@ blue-build-cli:
DO --pass-args +SAVE_IMAGE

blue-build-cli-distrobox-prebuild:
ARG BASE_IMAGE="docker.io/library/alpine:latest@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b"
ARG BASE_IMAGE="docker.io/library/alpine:latest@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6"
FROM $BASE_IMAGE

RUN apk update && apk add --no-cache \
Expand Down Expand Up @@ -255,7 +255,7 @@ blue-build-cli-distrobox:
DO --pass-args +SAVE_IMAGE --SUFFIX="-distrobox"

installer:
ARG BASE_IMAGE="docker.io/library/alpine:latest@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b"
ARG BASE_IMAGE="docker.io/library/alpine:latest@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6"
FROM $BASE_IMAGE

COPY --platform=native (+digest/base-image-digest --BASE_IMAGE=$BASE_IMAGE) /base-image-digest
Expand Down Expand Up @@ -288,7 +288,7 @@ cosign:
SAVE ARTIFACT /ko-app/cosign

digest:
FROM docker.io/library/alpine:latest@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b
FROM docker.io/library/alpine:latest@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6
RUN apk update && apk add skopeo jq

ARG --required BASE_IMAGE
Expand All @@ -310,7 +310,7 @@ version:
SAVE ARTIFACT /version

digest-list:
FROM docker.io/library/alpine:latest@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b
FROM docker.io/library/alpine:latest@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6

COPY --platform=native +version/version /
LET version="$(cat /version)"
Expand Down Expand Up @@ -344,7 +344,7 @@ digest-list:
SAVE ARTIFACT /digest-list

sign-images:
FROM docker.io/library/alpine:latest@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b
FROM docker.io/library/alpine:latest@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6
COPY +cosign/cosign /usr/bin/

ARG --required SUFFIX_LIST
Expand Down
Loading