From 47cb31a23b93928d11dad11a9f9c29d33b0a81b1 Mon Sep 17 00:00:00 2001 From: rick <1450685+LinuxSuRen@users.noreply.github.com> Date: Wed, 15 Dec 2021 13:28:31 +0800 Subject: [PATCH] Fix the failed image building for ghcr.io --- .github/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fd87458..4e674c1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -61,6 +61,7 @@ jobs: --value-set platform=linux/amd64,linux/arm64 - name: Push Image ghcr.io run: | + export PATH=.:$PATH:phantomjs/bin docker login ghcr.io --username ${{ secrets.GH_USER }} --password ${{secrets.GH_TOKEN}} jcli cwp --install-artifacts --config-path formula.yaml --value-set output=push \ --value-set tag=ghcr.io/kubesphere/ks-jenkins:${{ steps.build_env.outputs.version }} \