initial commit of GitHub workflows #1
This file contains 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: Build and push image and chart | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
build_push: | ||
Check failure on line 7 in .github/workflows/main.yaml GitHub Actions / Build and push image and chartInvalid workflow file
|
||
needs: | ||
- go_version | ||
outputs: | ||
version: ${{ steps.build-push-sign.outputs.version }} | ||
permissions: | ||
contents: read | ||
id-token: write | ||
name: Build and push | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ needs.go_version.outputs.go_version }} | ||
- uses: asdf-vm/actions/install@v3 | ||
- run: go test ./... | ||
- run: helm lint --strict ./charts | ||
- run: make check | ||
- run: | | ||
make generate | ||
git diff --exit-code --name-only |