From bbe2a2dec61e1e604cc55aed689bea0186922ac2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 30 May 2022 19:35:47 +0800 Subject: [PATCH] [Backport release-1.4] Fix: CI workflow for rollout acr image build and push (#4067) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix the rollout acr image Signed-off-by: 楚岳 (cherry picked from commit f6f4a369091d5b0c104357e396fd797fc3a5dbb5) * fix test test Signed-off-by: 楚岳 finish fix Signed-off-by: 楚岳 (cherry picked from commit 1ce37d8ce10e28c35700d42051be597e1f6d9560) * merge two sction Signed-off-by: 楚岳 (cherry picked from commit adf2517e72f742932f98e271fe4b4bcc67e9a9b7) Co-authored-by: 楚岳 --- .github/workflows/registry.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/registry.yml b/.github/workflows/registry.yml index b05d94971..dc1b40dda 100644 --- a/.github/workflows/registry.yml +++ b/.github/workflows/registry.yml @@ -121,10 +121,6 @@ jobs: docker.io/oamdev/vela-cli:${{ steps.get_version.outputs.VERSION }} ghcr.io/${{ github.repository }}/vela-cli:${{ steps.get_version.outputs.VERSION }} - - name: Build & Pushing vela runtime rollout for ACR - run: | - docker build --build-arg GOPROXY=https://proxy.golang.org --build-arg VERSION=${{ steps.get_version.outputs.VERSION }} --build-arg GITVERSION=git-${{ steps.vars.outputs.git_revision }} -t kubevela-registry.cn-hangzhou.cr.aliyuncs.com/oamdev/vela-rollout:${{ steps.get_version.outputs.VERSION }} -f runtime/rollout/Dockerfile . - docker push kubevela-registry.cn-hangzhou.cr.aliyuncs.com/oamdev/vela-rollout:${{ steps.get_version.outputs.VERSION }} - uses: docker/build-push-action@v2 name: Build & Pushing runtime rollout for Dockerhub and GHCR with: @@ -142,6 +138,7 @@ jobs: tags: |- docker.io/oamdev/vela-rollout:${{ steps.get_version.outputs.VERSION }} ghcr.io/${{ github.repository }}/vela-rollout:${{ steps.get_version.outputs.VERSION }} + kubevela-registry.cn-hangzhou.cr.aliyuncs.com/oamdev/vela-rollout:${{ steps.get_version.outputs.VERSION }} publish-charts: env: