Fix RELEASE_TAG for git tag population: #1110
Workflow file for this run
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| CGO_ENABLED: 0 | |
| GO_VERSION: '1.25' | |
| REGISTRY: ghcr.io | |
| # github.repository as <account>/<repo> | |
| IMAGE_NAME: ${{ github.repository }} | |
| jobs: | |
| validate: | |
| name: "Validate ${{ matrix.target }}" | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| target: ["verify", "lint", "test"] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: "${{ env.GO_VERSION }}" | |
| cache: true | |
| - uses: actions/cache@v4 | |
| with: | |
| path: bin | |
| key: ${{ runner.os }}-tools-bin-${{ matrix.target }}-${{ hashFiles('Makefile') }} | |
| restore-keys: | | |
| ${{ runner.os }}-tools-bin-${{ matrix.target }}- | |
| ${{ runner.os }}-tools-bin- | |
| - name: ${{ matrix.target }} | |
| run: make ${{ matrix.target }} | |
| codespell: | |
| name: Codespell | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Codespell | |
| uses: codespell-project/[email protected] | |
| with: | |
| check_filenames: true | |
| check_hidden: true | |
| skip: "./.git,./go.mod,./go.sum,.goreleaser.yaml" | |
| ignore_words_list: ro,NotIn | |
| build: | |
| name: Build binaries and container images | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: "${{ env.GO_VERSION }}" | |
| cache: true | |
| - name: Build | |
| run: make build-image |