Difference between revisions of "Uses: docker/bake-action (Experimental)"
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]
- 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/
- GitHub Actions,
act, .github/workflows/
,~/actions-runner/
,svc.sh
,deploy:, run:, runs-on:
,uses:
,steps:
,jobs:
,on:, env:, uses:, script:, continue-on-error:, template:, aws-actions, inputs:
,GITHUB_ENV, needs:, github.
, GitHub runner, my-docker-publish.yml, GitHub Actions variables, GitHub Actions contexts, GitHub Actions Importer, If:, SLSA, Actions Runner Controller (ARC),$GITHUB OUTPUT
,notify:
, Marketplace,GITHUB_TOKEN
Advertising: