From e98ba0996750167558abef9a5ab22ca511c55295 Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Thu, 3 Oct 2024 11:41:08 +0800 Subject: [PATCH] ci(main): delete registry dir for sealos cache images Signed-off-by: cuisongliu --- .github/workflows/push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index d7fb748..cb1c7d7 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -63,8 +63,8 @@ jobs: go run gen/gen.go ghcr.io/${{ github.repository_owner }}/automq-operator:latest && make info cd deploy IMAGE_NAME="ghcr.io/${{ github.repository_owner }}/automq-operator-sealos:latest" - sudo sealos build -t "${IMAGE_NAME}"-amd64 --platform linux/amd64 . - sudo sealos build -t "${IMAGE_NAME}"-arm64 --platform linux/arm64 . + sudo sealos build -t "${IMAGE_NAME}"-amd64 --platform linux/amd64 . && rm -rf registry + sudo sealos build -t "${IMAGE_NAME}"-arm64 --platform linux/arm64 . && rm -rf registry sudo sealos login -u ${{ github.repository_owner }} -p ${{ secrets.GH_TOKEN }} --debug ghcr.io sudo sealos push "${IMAGE_NAME}"-amd64 sudo sealos push "${IMAGE_NAME}"-arm64