4. Trigger the workflows
After setting up your environments and variables, you can deploy sfops using this workflow:
Deploy to All Environments
Release and Deploy to Environments in ORGS
Workflow: release-please How to trigger:
Go to Actions → "release-please" from the left sidebar
Click "Run workflow" for manual trigger
Or it runs automatically on pushes to main branch
This workflow:
Creates releases using release-please (when changes are detected)
For each environment in
ORGSarray:Builds sfops and sfops-lite Docker images from base sfp-pro images
Uses
BASE_REGISTRY,BASE_REPO,BASE_IMAGE_NAME, andBASE_LITE_IMAGE_NAMEvariables to pull the base imagesTags images with version number (e.g.,
31.2.0) andlatestPushes built images to ghcr.io
Syncs sfops-gh-actions and sfops-dashboard to the environment
Note: Add all your environments (production, test, alpha, etc.) to the ORGS array variable in your repository settings.
Troubleshooting Docker Builds
If your Docker build fails with errors like:
403 Forbiddenornot foundfor base images:Ensure
BASE_REGISTRY_USERNAMEandBASE_REGISTRY_TOKENsecrets are set correctlyVerify the base image exists at the specified registry
Check that your PAT has
read:packagespermission for the base registry
Authentication errors when pushing:
Ensure
DOCKER_USERNAMEandDOCKER_SECRETsecrets are setVerify your PAT has
write:packagespermission
These variables will be automatically set up during the set up of sfops in your repository by the FLXBL team. This guide is only applicable when you are setting up a self managed instance of sfops
Last updated