From bfa67a7d6194b5970b7cfc1101016d7230b0e0a4 Mon Sep 17 00:00:00 2001 From: Wang Yan Date: Thu, 24 Oct 2024 15:19:42 +0800 Subject: [PATCH] temporary disable gpg sign (#21085) to avoid blocking the rc, let's temporary disable the gpg sign for development build since the key was expired at Oct 21. I will fix it after RC and revert the code change Signed-off-by: wang yan --- .github/workflows/build-package.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-package.yml b/.github/workflows/build-package.yml index 99fcfad12..e9d674044 100644 --- a/.github/workflows/build-package.yml +++ b/.github/workflows/build-package.yml @@ -96,23 +96,23 @@ jobs: echo "Package name is: $harbor_offline_build_bundle" echo "Package name is: $harbor_online_build_bundle" - echo -en "${{ secrets.HARBOR_SIGN_KEY }}" | gpg --import - gpg -v -ab -u ${{ secrets.HARBOR_SIGN_KEY_ID }} $harbor_offline_build_bundle - gpg -v -ab -u ${{ secrets.HARBOR_SIGN_KEY_ID }} $harbor_online_build_bundle + # echo -en "${{ secrets.HARBOR_SIGN_KEY }}" | gpg --import + # gpg -v -ab -u ${{ secrets.HARBOR_SIGN_KEY_ID }} $harbor_offline_build_bundle + # gpg -v -ab -u ${{ secrets.HARBOR_SIGN_KEY_ID }} $harbor_online_build_bundle source tests/ci/build_util.sh cp ${harbor_offline_build_bundle} harbor-offline-installer-latest.tgz - cp ${harbor_offline_build_bundle}.asc harbor-offline-installer-latest.tgz.asc + # cp ${harbor_offline_build_bundle}.asc harbor-offline-installer-latest.tgz.asc cp ${harbor_online_build_bundle} harbor-online-installer-latest.tgz - cp ${harbor_online_build_bundle}.asc harbor-online-installer-latest.tgz.asc + # cp ${harbor_online_build_bundle}.asc harbor-online-installer-latest.tgz.asc uploader ${harbor_offline_build_bundle} $harbor_target_bucket - uploader ${harbor_offline_build_bundle}.asc $harbor_target_bucket + # uploader ${harbor_offline_build_bundle}.asc $harbor_target_bucket uploader ${harbor_online_build_bundle} $harbor_target_bucket - uploader ${harbor_online_build_bundle}.asc $harbor_target_bucket + # uploader ${harbor_online_build_bundle}.asc $harbor_target_bucket uploader harbor-offline-installer-latest.tgz $harbor_target_bucket - uploader harbor-offline-installer-latest.tgz.asc $harbor_target_bucket + # uploader harbor-offline-installer-latest.tgz.asc $harbor_target_bucket uploader harbor-online-installer-latest.tgz $harbor_target_bucket - uploader harbor-online-installer-latest.tgz.asc $harbor_target_bucket + # uploader harbor-online-installer-latest.tgz.asc $harbor_target_bucket echo "BUILD_BUNDLE=$harbor_offline_build_bundle" >> $GITHUB_ENV publishImage $target_branch $Harbor_Assets_Version "${{ secrets.DOCKER_HUB_USERNAME }}" "${{ secrets.DOCKER_HUB_PASSWORD }}"