Write a CI/CD pipeline for Docker
Build a Docker-based CI/CD pipeline that builds, tags, vulnerability-scans, and deploys on every merge. Supports GitHub Actions, GitLab CI, and CircleCI.
Preview
Copy prompt
Write a [GitHub Actions / GitLab CI / CircleCI] pipeline that builds a Docker image for [Application], tags it with both the short Git SHA and a semver release tag when triggered by a tag push, pushes it to [Container Registry], and deploys it to [Platform] using a rolling update. Insert a vulnerability scan step using [Trivy / Snyk / Grype] after the build and before the push, and fail the pipeline if any critical vulnerabilities are found.
More
DevOps
Prompts
