Skip to content

Commit

Permalink
feat(ci): use the relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
runkecheng committed Jul 25, 2022
1 parent 7a34694 commit 4fb5757
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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:
Expand Down

0 comments on commit 4fb5757

Please sign in to comment.