Difference between revisions of "Uses: docker/bake-action (Experimental)"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} docker/bake-action@v2")
 
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
* https://github.com/docker/bake-action
  
 
   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]]
 +
 +
 +
set
 +
args
 +
cache-from
 +
cache-to
 +
context
 +
dockerfile
 +
labels
 +
no-cache
 +
no-cache-filter
 +
output
 +
platform
 +
pull
 +
push
 +
secrets
 +
ssh
 +
[[tags:]]
 +
target
 +
 +
 +
 +
[[no-cache]]
 +
[[uses: docker/build-push-action]]
 +
 +
== See also ==
 +
* {{Bake}}
 +
* {{buildctl}}
 +
* {{docker buildx}}
 +
* {{uses:}}
 +
* {{GitHub Actions}}
 +
 +
[[Category:GitHub]]

Latest revision as of 11:43, 26 May 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


set

args
cache-from
cache-to
context
dockerfile
labels
no-cache
no-cache-filter
output
platform
pull
push
secrets
ssh
tags:
target


no-cache
uses: docker/build-push-action

See also[edit]

Advertising: