From 22bced2687630d2b5b144aff2cee85f09c255d04 Mon Sep 17 00:00:00 2001 From: runkecheng <1131648942@qq.com> Date: Mon, 25 Jul 2022 15:42:55 +0800 Subject: [PATCH] feat(ci): Use the relative path --- .github/workflows/publish_images.yml | 6 +++--- .github/workflows/publish_release.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish_images.yml b/.github/workflows/publish_images.yml index 0682c40a..0b015cbd 100644 --- a/.github/workflows/publish_images.yml +++ b/.github/workflows/publish_images.yml @@ -25,7 +25,7 @@ on: jobs: build_operator: - uses: radondb/radondb-mysql-kubernetes/.github/workflows/build_operator_image.yml@main + uses: ./.github/workflows/build_operator_image.yml if: ${{ github.event.inputs.build_operator == 'true' }} with: image_tag: ${{ github.event.inputs.tag }} @@ -34,7 +34,7 @@ jobs: DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} build_sidecar: - uses: radondb/radondb-mysql-kubernetes/.github/workflows/build_sidecar_image.yml@main + uses: ./.github/workflows/build_sidecar_image.yml if: ${{ github.event.inputs.build_sidecar == 'true' }} with: image_tag: ${{ github.event.inputs.tag }} @@ -43,7 +43,7 @@ jobs: DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} build_xenon: - uses: radondb/radondb-mysql-kubernetes/.github/workflows/build_xenon_image.yml@main + uses: ./.github/workflows/build_xenon_image.yml if: ${{ github.event.inputs.build_xenon == 'true' }} with: image_tag: ${{ github.event.inputs.tag }} diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 3e0a02ac..52da6c47 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -10,14 +10,14 @@ on: jobs: update_release_draft: - uses: radondb/radondb-mysql-kubernetes/.github/workflows/release_drafter.yml@main + uses: ./.github/workflows/release_drafter.yml with: version: ${{ github.event.inputs.version }} secrets: git_token: ${{ secrets.GITHUB_TOKEN }} build_operator: - uses: radondb/radondb-mysql-kubernetes/.github/workflows/build_operator_image.yml@main + uses: ./.github/workflows/build_operator_image.yml needs: update_release_draft with: image_tag: ${{ needs.update_release_draft.outputs.version }} @@ -26,7 +26,7 @@ jobs: DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} build_sidecar: - uses: radondb/radondb-mysql-kubernetes/.github/workflows/build_sidecar_image.yml@main + uses: ./.github/workflows/build_sidecar_image.yml needs: update_release_draft with: image_tag: ${{ needs.update_release_draft.outputs.version }} @@ -35,7 +35,7 @@ jobs: DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} publish_chart: - uses: radondb/radondb-mysql-kubernetes/.github/workflows/publish_charts.yml@main + uses: ./.github/workflows/publish_charts.yml if: ${{ github.event.inputs.version == '' }} needs: update_release_draft with: