This is an automated email from the ASF dual-hosted git repository. github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/dev/pr-13275-a0ac9082af2f6ea1565bdf2d9fcce12ac00e18fd in repository https://gitbox.apache.org/repos/asf/seatunnel.git
commit b3828eb141d3ca669181084dbd73bfb534064e08 Author: zhiweiniu <[email protected]> AuthorDate: Sat Nov 14 05:06:43 2026 +0000 [Fix][CI] Support manual Docker and Helm publishing (#13275) --- .github/workflows/publish-docker.yaml | 10 +++++++++- .github/workflows/publish-helm-chart.yaml | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml index 68f4cad3087..136bb963a96 100644 --- a/.github/workflows/publish-docker.yaml +++ b/.github/workflows/publish-docker.yaml @@ -18,6 +18,11 @@ name: publish-docker on: workflow_dispatch: + inputs: + tag: + description: 'Existing release tag to publish (for example, 3.1.0)' + required: true + type: string push: tags: - '*' @@ -31,7 +36,7 @@ env: jobs: build: - if: github.repository == 'apache/seatunnel' && github.ref_type == 'tag' + if: github.repository == 'apache/seatunnel' runs-on: ubuntu-latest permissions: contents: read @@ -40,10 +45,13 @@ jobs: steps: - uses: actions/checkout@v4 with: + ref: ${{ github.event_name == 'workflow_dispatch' && format('refs/tags/{0}', inputs.tag) || github.ref }} submodules: true - name: free disk space run: tools/github/free_disk_space.sh - uses: actions/checkout@v4 + with: + ref: ${{ github.event_name == 'workflow_dispatch' && format('refs/tags/{0}', inputs.tag) || github.ref }} - name: Cache local Maven repository uses: actions/cache@v4 with: diff --git a/.github/workflows/publish-helm-chart.yaml b/.github/workflows/publish-helm-chart.yaml index 7eb2b2aaa8d..4c6b89cc1ba 100644 --- a/.github/workflows/publish-helm-chart.yaml +++ b/.github/workflows/publish-helm-chart.yaml @@ -17,6 +17,12 @@ name: publish-helm-chart on: + workflow_dispatch: + inputs: + tag: + description: 'Existing release tag to publish (for example, 3.1.0)' + required: true + type: string push: tags: - '*' @@ -40,8 +46,10 @@ jobs: timeout-minutes: 30 steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.event_name == 'workflow_dispatch' && format('refs/tags/{0}', inputs.tag) || github.ref }} - name: Log in to the Container registry - uses: docker/login-action@v3 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: registry: ${{ env.DOCKER_REGISTRY }} username: ${{ env.DOCKER_USERNAME }}
