Build Failures
Docker Build Fails
Symptoms:- Build step fails in GitHub Actions
- Error messages about Dockerfile syntax or missing files
- Build context errors
-
Invalid Dockerfile syntax
-
Missing files or directories
-
Base image not found
-
Build context too large
- Review the full build logs in GitHub Actions
- Try building locally:
docker build -t test . - Check recent changes to Dockerfile or dependencies
- Verify all required files are in the repository
Image Push Fails
Symptoms:- Build succeeds but push to registry fails
- Authentication errors to container registry
- “Repository does not exist” errors
-
Invalid registry credentials
-
Repository doesn’t exist
-
Registry URL is incorrect
- Verify registry URL in workflow logs
- Test authentication manually with cloud CLI tools
- Check registry permissions in cloud console
- Review GitHub secrets configuration
Deployment Failures
kubectl Deployment Fails
Symptoms:- Deployment step fails after successful build
- “connection refused” or “unauthorized” errors
- kubectl commands timeout
-
Invalid cluster credentials
-
Cluster name format incorrect
-
Insufficient permissions
-
Invalid Kubernetes manifests
- Review kubectl output in workflow logs
- Verify cluster exists and is accessible
- Check Kubernetes manifest syntax
- Test deployment locally with kubectl
ArgoCD Not Syncing
Symptoms:- Workflow completes but changes don’t appear in cluster
- ArgoCD shows “OutOfSync” status
- Application health degraded
-
ArgoCD not configured correctly
-
Repository access issues
-
Manifest path incorrect
-
Sync policy prevents auto-sync
- Check ArgoCD UI for application status
- Review ArgoCD application logs:
kubectl logs -n argocd <argocd-server-pod> - Verify Git commits appear in deployment repository
- Manually trigger sync in ArgoCD UI
- Check ArgoCD application events:
kubectl describe application -n argocd <app-name>
Authentication Issues
AWS Authentication Fails
Symptoms:- “Unable to locate credentials” error
- “Access denied” when accessing EKS or ECR
- OIDC token validation errors
-
OIDC provider not configured
-
IAM role trust policy incorrect
-
Missing IAM permissions
-
AWS_DEPLOY_ROLE variable not set
- Verify OIDC provider exists in IAM
- Check role ARN is correct in GitHub variable
- Review IAM role trust policy and permissions
- Test role assumption locally with AWS CLI
GCP Authentication Fails
Symptoms:- “Permission denied” errors
- “Invalid JWT” or token validation errors
- Cannot access GKE or Artifact Registry
-
Workload Identity not configured
-
Service account permissions missing
-
Workload Identity binding incorrect
-
WIF variables not set correctly
- Verify Workload Identity pool and provider exist
- Check service account has necessary roles
- Review Workload Identity binding for repository
- Test authentication locally with gcloud
GitHub Authentication Fails
Symptoms:- Cannot access deployment repository
- “Resource not accessible by integration” error
- PAT or GitHub App authentication fails
-
GitHub App not installed
-
GitHub App credentials incorrect
-
PAT lacks required permissions
-
Cross-organization access
- Verify GitHub App installation and permissions
- Check secret values are complete and correct
- Test repository access manually
- Review workflow logs for specific error messages
Common Error Messages
”ImagePullBackOff” in Kubernetes
Cause: Kubernetes cannot pull the Docker image Solutions:- Verify image tag exists in registry
- Check image name and registry URL are correct
- Ensure Kubernetes has credentials to access private registry
- For ECR: Verify ECR image pull secret is configured
- Check network connectivity from cluster to registry
”CrashLoopBackOff” in Kubernetes
Cause: Container starts but immediately crashes Solutions:- Check application logs:
kubectl logs <pod-name> - Verify environment variables are set correctly
- Ensure required secrets and config maps exist
- Check application dependencies (database, APIs) are accessible
- Review resource limits aren’t too restrictive
”Workflow dispatch failed”
Cause: Cannot trigger GitHub Actions workflow Solutions:- Verify workflow file exists in repository
- Check workflow_dispatch trigger is configured
- Ensure you have permission to trigger workflows
- Review workflow inputs match expected parameters
- Check GitHub Actions is enabled for repository
Getting Help
If you’re still experiencing issues:- Check GitHub Actions logs - Detailed error messages and stack traces
- Review Skyhook documentation - Additional guides and examples
- Verify configuration - Double-check .koala.toml and secrets
- Test components individually - Isolate the failing step
- Contact support - Provide workflow run URL and error details
Next Steps
- Using Workflows - Learn deployment operations
- Configuration & Setup - Review setup steps
- GitOps with ArgoCD - Troubleshoot ArgoCD issues
