From e13c522b35a5f9ff9cc7c4c9b01402f3f631b69d Mon Sep 17 00:00:00 2001 From: Carson Yang Date: Thu, 4 Jul 2024 18:28:56 +0800 Subject: [PATCH] Update workflow Signed-off-by: Carson Yang --- .github/workflows/autobuild-k3s-containerd-part4.yml | 4 ++++ .github/workflows/autobuild-k8s-containerd-part4.yml | 4 ++++ .github/workflows/autobuild-k8s-cri-o-part4.yml | 4 ++++ .github/workflows/autobuild-k8s-docker-part4.yml | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/.github/workflows/autobuild-k3s-containerd-part4.yml b/.github/workflows/autobuild-k3s-containerd-part4.yml index 3fc8f47..9d90157 100644 --- a/.github/workflows/autobuild-k3s-containerd-part4.yml +++ b/.github/workflows/autobuild-k3s-containerd-part4.yml @@ -114,6 +114,10 @@ jobs: fetch-depth: 0 repository: labring/sealos ref: main + - name: Update Sealos README + run: | + sed -i "s@\./@https://github.com/labring/sealos/blob/main/@g" ./README.md + sed -i "s@(/docs@(https://github.com/labring/sealos/blob/main/docs@g" ./README.md - name: Update image description uses: peter-evans/dockerhub-description@v4 with: diff --git a/.github/workflows/autobuild-k8s-containerd-part4.yml b/.github/workflows/autobuild-k8s-containerd-part4.yml index c3518b6..d0cc779 100644 --- a/.github/workflows/autobuild-k8s-containerd-part4.yml +++ b/.github/workflows/autobuild-k8s-containerd-part4.yml @@ -113,6 +113,10 @@ jobs: fetch-depth: 0 repository: labring/sealos ref: main + - name: Update Sealos README + run: | + sed -i "s@\./@https://github.com/labring/sealos/blob/main/@g" ./README.md + sed -i "s@(/docs@(https://github.com/labring/sealos/blob/main/docs@g" ./README.md - name: Update image description uses: peter-evans/dockerhub-description@v4 with: diff --git a/.github/workflows/autobuild-k8s-cri-o-part4.yml b/.github/workflows/autobuild-k8s-cri-o-part4.yml index 2e2b2d2..93f74b1 100644 --- a/.github/workflows/autobuild-k8s-cri-o-part4.yml +++ b/.github/workflows/autobuild-k8s-cri-o-part4.yml @@ -113,6 +113,10 @@ jobs: fetch-depth: 0 repository: labring/sealos ref: main + - name: Update Sealos README + run: | + sed -i "s@\./@https://github.com/labring/sealos/blob/main/@g" ./README.md + sed -i "s@(/docs@(https://github.com/labring/sealos/blob/main/docs@g" ./README.md - name: Update image description uses: peter-evans/dockerhub-description@v4 with: diff --git a/.github/workflows/autobuild-k8s-docker-part4.yml b/.github/workflows/autobuild-k8s-docker-part4.yml index f4877e3..256f98c 100644 --- a/.github/workflows/autobuild-k8s-docker-part4.yml +++ b/.github/workflows/autobuild-k8s-docker-part4.yml @@ -113,6 +113,10 @@ jobs: fetch-depth: 0 repository: labring/sealos ref: main + - name: Update Sealos README + run: | + sed -i "s@\./@https://github.com/labring/sealos/blob/main/@g" ./README.md + sed -i "s@(/docs@(https://github.com/labring/sealos/blob/main/docs@g" ./README.md - name: Update image description uses: peter-evans/dockerhub-description@v4 with: