Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

crazy-max/docker-allhands2-buildx-bake

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

buildx bake adoption --push

Demo of buildx bake @ Docker Community All-Hands #2


Slides

Slides available on GitHub Pages: https://crazy-max.github.io/docker-buildx-bake-demo/

Render

git clone https://github.com/crazy-max/docker-buildx-bake-demo.git bake-demo
cd bake-demo

# generate slides and will be available in ./www folder
docker buildx bake slides

Run and auto-reload

docker run --rm --init -v $(pwd)/slides:/home/marp/app -p 8080:8080 -p 37717:37717 marpteam/marp-cli -w -s -I .
# open your browser at http://localhost:8080

GitHub Actions with bake and GitHub Pages

GitHub Action workflow available in .github/workflows/slides.yml

Demo app

Sources

Sources available in ./demo folder.

Build

git clone https://github.com/crazy-max/docker-buildx-bake-demo.git bake-demo
cd bake-demo

# build docker image and output to docker with bake-demo:local tag (default)
docker buildx bake image-local

# build multi-platform image
docker buildx bake image-all

# create the artifact matching your current platform in ./dist
docker buildx bake artifact

# create artifacts for many platforms in ./dist
docker buildx bake artifact-all

GitHub Actions

GitHub Action workflow available in .github/workflows/build.yml

License

MIT. See LICENSE for more details.

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.