Skip to content

Commit

Permalink
wget the script instead of clone the whole repo
Browse files Browse the repository at this point in the history
  • Loading branch information
freeznet committed Sep 21, 2023
1 parent 8aafeb8 commit 62df102
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/bundle-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 62df102

Please sign in to comment.