Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#CI/CD

Advanced AI Prompt for Docker Multi-Arch Build and ECR Push

Customize the variables below to instantly engineer your prompt.

Required Variables

docker-multi-arch-ecr-push.txt
Act as a Senior Cloud Infrastructure Engineer. Design a high-performance GitHub Actions workflow dedicated to building multi-architecture Docker images across [PLATFORMS] (e.g., `linux/amd64,linux/arm64`). The workflow must: 1) Authenticate securely with AWS ECR using OIDC (IAM Roles for GitHub Actions, explicitly avoiding hardcoded access keys). 2) Utilize `docker/setup-buildx-action` to build and push the image [IMAGE_NAME]. 3) Implement Docker layer caching utilizing the `gha` (GitHub Actions) cache backend to speed up subsequent builds. 4) Automatically tag the pushed images with both the short Git SHA and the 'latest' tag. Provide the specific AWS IAM policy JSON required for the OIDC role as a comment within the YAML.

Example Text Output

"A workflow featuring 'docker/setup-buildx-action' and 'aws-actions/configure-aws-credentials' with explicit multi-platform build arguments."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Docker Multi-Arch Build and ECR Push" prompt used for?

A workflow featuring 'docker/setup-buildx-action' and 'aws-actions/configure-aws-credentials' with explicit multi-platform build arguments.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.