From 62df102b11b89b1b2e0f5a0dd2991b66b84d4c0b Mon Sep 17 00:00:00 2001 From: Rui Fu Date: Thu, 21 Sep 2023 10:42:20 +0800 Subject: [PATCH] wget the script instead of clone the whole repo --- .github/workflows/bundle-release.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bundle-release.yml b/.github/workflows/bundle-release.yml index ca78b142..edc76e8f 100644 --- a/.github/workflows/bundle-release.yml +++ b/.github/workflows/bundle-release.yml @@ -195,10 +195,8 @@ jobs: wget https://raw.githubusercontent.com/kubernetes/autoscaler/master/vertical-pod-autoscaler/deploy/vpa-v1-crd-gen.yaml -O config/crd/bases/vpa-v1-crd.yaml - name: Use the master hack scripts - uses: actions/checkout@v2 - with: - path: master_fm - ref: master + run: | + wget https://raw.githubusercontent.com/streamnative/function-mesh/master/hack/publish-rhel.sh -O hack/publish-rhel.sh - name: build release id: build_release @@ -265,7 +263,7 @@ jobs: TIMEOUT_IN_MINS: 10 run: | echo $VERSION - source master_fm/hack/publish-rhel.sh + source hack/publish-rhel.sh wait_for_container_scan "$CONTAINER_IMAGE_CERTIFICATION_PROJECT_ID" "$VERSION" "$PFLT_PYXIS_API_TOKEN" "$TIMEOUT_IN_MINS" @@ -280,7 +278,7 @@ jobs: TIMEOUT_IN_MINS: 10 run: | echo $VERSION - source master_fm/hack/publish-rhel.sh + source hack/publish-rhel.sh publish_the_image "$CONTAINER_IMAGE_CERTIFICATION_PROJECT_ID" "$VERSION" "$PFLT_PYXIS_API_TOKEN" wait_for_container_publish "$CONTAINER_IMAGE_CERTIFICATION_PROJECT_ID" "$VERSION" "$PFLT_PYXIS_API_TOKEN" "$TIMEOUT_IN_MINS" sync_tags "$CONTAINER_IMAGE_CERTIFICATION_PROJECT_ID" "$VERSION" "$PFLT_PYXIS_API_TOKEN"