Merge pull request #14 from ti-community-infra/refactor/combine-commu… #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish images | |
| on: | |
| push: | |
| branches: | |
| - release | |
| paths: | |
| - "**/*.go" | |
| - go.mod | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| push-images: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.23" | |
| - name: Log in to the Container registry | |
| uses: ko-build/setup-ko@v0.8 | |
| - name: Build & Push images | |
| env: | |
| REGISTRY: ghcr.io/ti-community-infra/prow | |
| run: | | |
| make push-images REGISTRY=${REGISTRY} |