diff --git a/.github/workflows/services.yml b/.github/workflows/services.yml index f4e21f1c0ef..9cbe98d9125 100644 --- a/.github/workflows/services.yml +++ b/.github/workflows/services.yml @@ -223,13 +223,12 @@ jobs: sudo sealos build -t ${CLUSTER_IMAGE_NAME}-amd64 --platform linux/amd64 -f Kubefile sudo sealos build -t ${CLUSTER_IMAGE_NAME}-arm64 --platform linux/arm64 -f Kubefile sudo sealos images - bash docker/patch/manifest-cluster-images.sh $CLUSTER_IMAGE_NAME - name: Build ${{ matrix.module }}-service cluster image for latest - working-directory: service/${{ matrix.module }}/deploy run: | - CLUSTER_IMAGE_NAME_LATEST=${{ steps.prepare.outputs.cluster_repo }}:latest - sudo sealos build -t ${CLUSTER_IMAGE_NAME_LATEST}-amd64 --platform linux/amd64 -f Kubefile - sudo sealos build -t ${CLUSTER_IMAGE_NAME_LATEST}-arm64 --platform linux/arm64 -f Kubefile + CLUSTER_IMAGE_NAME=${{ steps.prepare.outputs.cluster_repo }}:${{ steps.prepare.outputs.tag_name }} + CLUSTER_IMAGE_NAME_LATEST=${{ steps.prepare.outputs.cluster_repo }}:${{ steps.prepare.outputs.cluster_repo }}:latest + sudo sealos tag ${CLUSTER_IMAGE_NAME}-amd64 ${CLUSTER_IMAGE_NAME_LATEST}-amd64 + sudo sealos tag ${CLUSTER_IMAGE_NAME}-amd64 ${CLUSTER_IMAGE_NAME_LATEST}-amd64 sudo sealos images bash docker/patch/manifest-cluster-images.sh $CLUSTER_IMAGE_NAME_LATEST - name: Renew issue and Sync Images