Merge pull request #9 from vngcloud/fixbug-mount-root-node #27
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: Release vngcloud-blockstorage-csi-driver project | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| pull_request: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| build: | |
| name: GoReleaser build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # See: https://goreleaser.com/ci/actions/ | |
| - name: Set up Go 1.22 | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: 1.22 | |
| id: go | |
| - name: Run GoReleaser | |
| uses: goreleaser/goreleaser-action@v5 | |
| with: | |
| version: latest | |
| args: release --rm-dist | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }} |