Create push-docker-image.yml#25
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds a new GitHub Actions workflow file that builds and pushes a Docker image to Azure Container Registry on manual trigger, mapping a selected environment input to a target environment tag combined with the commit SHA. ChangesDocker Push Workflow
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant Trigger as workflow_dispatch
participant SetEnv as set-github-environment
participant Build as build job
participant Registry as Container Registry
Trigger->>SetEnv: environment input
SetEnv->>Build: target_env output
Build->>Registry: login
Build->>Build: docker/build-push-action
Build->>Registry: push image tag with target_env + SHA
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Added code to push the docker image on demand
Added a new manual GitHub Actions workflow to push the Docker image to Azure Container Registry.
workflow_dispatchwith anenvironmentselector fordevelop,staging,production, andtestingtarget_envoutput for downstream jobslinux/amd64image