Difference between revisions of "Uses: docker/bake-action (Experimental)"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
docker/[[bake]]-action@v2 | docker/[[bake]]-action@v2 | ||
+ | |||
+ | |||
+ | - name: Build builder images | ||
+ | [[uses:]] docker/bake-action@v2 | ||
+ | with: | ||
+ | targets: builder | ||
+ | load: true | ||
+ | set: | | ||
+ | *.cache-from=type=local,src=/buildx-cache/your-project | ||
+ | *.cache-to=type=local,dest=/buildx-cache/your-project,mode=max | ||
Line 8: | Line 18: | ||
* {{buildctl}} | * {{buildctl}} | ||
* {{docker buildx}} | * {{docker buildx}} | ||
− | + | * {{uses:}} | |
− | {{uses:}} |
Revision as of 13:07, 7 April 2023
docker/bake-action@v2
- name: Build builder images uses: docker/bake-action@v2 with: targets: builder load: true set: | *.cache-from=type=local,src=/buildx-cache/your-project *.cache-to=type=local,dest=/buildx-cache/your-project,mode=max
- Bake,
docker buildx bake, docker-bake.hcl
buildctl [ prune | du ]
docker buildx
: [create | use | du | build | inspect | bake | prune | prune --help | --help
], buildx cache,mode=max
uses:, checkout@v3, configure-aws-credentials, docker/login-action, 1password/
Advertising: