diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index f0035c34..0bfaab75 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,8 +1,13 @@ -name: run +name: main on: push: { branches: [main] } pull_request: { branches: [main] } + workflow_dispatch: + inputs: + clickhouse: + default: + jobs: lint: runs-on: ubuntu-latest @@ -17,13 +22,11 @@ jobs: push_to_dockerhub: runs-on: ubuntu-latest - needs: lint - # if: ${{ github.event_name == 'push' }} env: - CLICKHOUSE_VERSIONS: ${{ join(inputs.clickhouse) }} + CLICKHOUSE_VERSIONS: "21.8.15.7, 22.3.20.29, 22.8.19.10, 23.3.4.17, 23.4.4.16, 23.5.3.24, latest" + #needs: lint + # if: ${{ github.event_name == 'push' }} steps: - - run: echo ${{ inputs.clickhouse }} - - run: echo $CLICKHOUSE_VERSIONS - name: login to dockerhub uses: docker/login-action@v2 with: @@ -42,7 +45,15 @@ jobs: target: - {python: "3.6.15", ubuntu: "20.04"} - {python: "3.10.12", ubuntu: "latest"} - clickhouse: ${{ inputs.clickhouse }} + clickhouse: + - "21.8.15.7" + - "22.3.20.29" + - "22.8.19.10" + - "23.3.4.17" + - "23.4.4.16" + - "23.5.3.24" + - "latest" + runs-on: ubuntu-${{ matrix.target.ubuntu }} steps: - uses: actions/checkout@v3