From 1426d169334cf9b5b60ed80f513e23b3f3f2d96d Mon Sep 17 00:00:00 2001 From: Nianyu Shen Date: Mon, 23 Sep 2024 21:57:39 -0700 Subject: [PATCH] ci: fix push (#94) Signed-off-by: Nianyu Shen --- .github/workflows/release.yaml | 2 +- Earthfile | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d678748..86cb9fa 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -41,4 +41,4 @@ jobs: with: version: "latest" - run: echo "${{ secrets.GCR_DEV_PUBLIC_B64_TOKEN }}" | base64 -d | docker login -u _json_key --password-stdin https://gcr.io - - run: earthly --ci --push +provider-package-all-platforms --IMAGE_REPOSITORY=gcr.io/spectro-dev-public/kairos-io + - run: earthly --ci --output --push +provider-package-all-platforms --IMAGE_REPOSITORY=gcr.io/spectro-dev-public/kairos-io diff --git a/Earthfile b/Earthfile index fc41764..827fc90 100644 --- a/Earthfile +++ b/Earthfile @@ -137,13 +137,13 @@ cosign: RUN cosign sign $IMAGE_REPOSITORY/${BASE_IMAGE_NAME}-k3s:${K3S_VERSION_TAG}_${VERSION} docker-all-platforms: - BUILD --platform=linux/amd64 +docker - BUILD --platform=linux/arm64 +docker + BUILD --platform=linux/amd64 +docker + BUILD --platform=linux/arm64 +docker provider-package-all-platforms: - BUILD --platform=linux/amd64 +build-provider-package - BUILD --platform=linux/arm64 +build-provider-package + BUILD --platform=linux/amd64 +build-provider-package + BUILD --platform=linux/arm64 +build-provider-package cosign-all-platforms: - BUILD --platform=linux/amd64 +cosign - BUILD --platform=linux/arm64 +cosign + BUILD --platform=linux/amd64 +cosign + BUILD --platform=linux/arm64 +cosign