Skip to content

Commit 360ab15

Browse files
authored
wget the script instead of clone the whole repo (#696)
1 parent 8aafeb8 commit 360ab15

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/bundle-release.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,8 @@ jobs:
195195
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
196196
197197
- name: Use the master hack scripts
198-
uses: actions/checkout@v2
199-
with:
200-
path: master_fm
201-
ref: master
198+
run: |
199+
wget https://raw.githubusercontent.com/streamnative/function-mesh/master/hack/publish-rhel.sh -O hack/publish-rhel.sh
202200
203201
- name: build release
204202
id: build_release
@@ -265,7 +263,7 @@ jobs:
265263
TIMEOUT_IN_MINS: 10
266264
run: |
267265
echo $VERSION
268-
source master_fm/hack/publish-rhel.sh
266+
source hack/publish-rhel.sh
269267
270268
wait_for_container_scan "$CONTAINER_IMAGE_CERTIFICATION_PROJECT_ID" "$VERSION" "$PFLT_PYXIS_API_TOKEN" "$TIMEOUT_IN_MINS"
271269
@@ -280,7 +278,7 @@ jobs:
280278
TIMEOUT_IN_MINS: 10
281279
run: |
282280
echo $VERSION
283-
source master_fm/hack/publish-rhel.sh
281+
source hack/publish-rhel.sh
284282
publish_the_image "$CONTAINER_IMAGE_CERTIFICATION_PROJECT_ID" "$VERSION" "$PFLT_PYXIS_API_TOKEN"
285283
wait_for_container_publish "$CONTAINER_IMAGE_CERTIFICATION_PROJECT_ID" "$VERSION" "$PFLT_PYXIS_API_TOKEN" "$TIMEOUT_IN_MINS"
286284
sync_tags "$CONTAINER_IMAGE_CERTIFICATION_PROJECT_ID" "$VERSION" "$PFLT_PYXIS_API_TOKEN"

0 commit comments

Comments
 (0)