CICD-137 · Push a tested candidate
Encyclopedia · Registries and releases · All snippets
Previous · CICD-136 · Next · CICD-138
1. Where it fits
- Placement Bash run step following checkout, or equivalent lab terminal.
- Prerequisites authorized test registry, scoped credentials and candidate artifact.
- Platforms local-linux, github-actions, gitea-actions.
- Parameters
GITHUB_SHA,IMAGE_REPO.
2. Copy the snippet
bash
docker push "${IMAGE_REPO:?}:${GITHUB_SHA:?}"3. How it works
Push transfers a locally tagged image to the configured registry. The registry's resulting manifest digest identifies the released content.
4. Verify the result
Apply least privilege to the repository and capture candidate digest.
Validation syntax-validated (Bash parse). Status definitions.