Skip to content

initial commit of GitHub workflows #1

initial commit of GitHub workflows

initial commit of GitHub workflows #1

Workflow file for this run

name: Build and push image and chart
on:
push:
branches:
- main
jobs:
build_push:

Check failure on line 7 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / Build and push image and chart

Invalid workflow file

The workflow is not valid. .github/workflows/main.yaml (Line: 7, Col: 3): The workflow must contain at least one job with no dependencies.
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