generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Labels
enhancementNew feature or requestNew feature or request
Description
SUMMARY
On Feb 5, 2025, Docker released Docker Bake, which simplifies image building. It would be great if we could apply a docker-bake.hcl file with Ansible.
ISSUE TYPE
- Feature Idea
COMPONENT NAME
docker_image_bake
docker_bake
ADDITIONAL INFORMATION
- name: Run 'docker buildx bake'
community.docker.docker_bake:
files:
- mybakefile.hcl
- myoverridefile.hcl
targets:
- webapp
- db
set:
- *.tags.version=v1
- *.platform=linux/arm64
variables:
- PORT=7000This example would be akin to running
PORT=7000 docker buildx bake -f mybakefile.hcl -f myoverridefile.hcl --set *.tags.version=v1 --set *.platform=linux/arm64 webapp dbMetadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request