Skip to content

Workflow file for this run

name: "kubectl apply"
on:
push:
branches:
- "main"
jobs:
apply:

Check failure on line 8 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / kubectl apply

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 8, Col: 3): The workflow must contain at least one job with no dependencies.
name: "kubectl apply"
runs-on: ubuntu-latest
needs: push
container:
image: docker.io/bitnami/kubectl:1.29.0
steps:
- name: "Patch Image"
run: |
echo $KUBE_CONFIG | base64 -d > kc.yaml
kubectl --kubeconfig kc.yaml apply --prune --all -f ./manifests
env:
KUBE_CONFIG: ${{ secrets.KUBECONFIG }}
NEW_IMAGE: ${{ needs.push.outputs.tag }}