summaryrefslogtreecommitdiff
path: root/docker-bake.hcl
Commit message (Collapse)AuthorAgeFilesLines
* ci: bin-image workflowCrazyMax2023-05-111-2/+6
| | | | | | This workflow will just build the bin-image bake target. Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
* bin-image bake targetKevin Alvarez2023-05-111-0/+24
| | | | | | Allows to build a non-runnable image that contains bundles. Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
* Dockerfile: smoke tests for static buildsCrazyMax2023-01-181-0/+14
| | | | | | | Adds smoke test stage in our Dockerfile and a GitHub Action workflow Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
* Dockerfile: add "all" stage to build binaries and extra toolsCrazyMax2023-01-011-0/+14
| | | | | | | | | | We still need a stage that build binaries and extra tools as well for docker-ce-packaging repo: https://github.com/docker/docker-ce-packaging/blob/ff110508ffce04a9246ef52af4e7a458422e941a/static/Makefile#L41-L57 This could be removed if we create a package for each project like it's done in docker-packaging repo: https://github.com/docker/packaging/tree/main/pkg Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
* Dockerfile: rename dev stagesCrazyMax2023-01-011-5/+2
| | | | | | Also remove DEV_IMAGE bake var that is not used Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
* ci: use GITHUB_REF and GITHUB_SHA to set version and commitCrazyMax2023-01-011-2/+14
| | | | Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
* bake: define additional varsCrazyMax2023-01-011-1/+55
| | | | Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
* bake: define DESTDIRCrazyMax2023-01-011-4/+11
| | | | | | | Keep the same output dir format in the bake definition as the one used in make scripts. Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
* Dockerfile: use TARGETPLATFORM to build DockerCrazyMax2023-01-011-11/+22
| | | | | | | | | | | | | | | | Better support for cross compilation so we can fully rely on `--platform` flag of buildx for a seamless integration. This removes unnecessary extra cross logic in the Dockerfile, DOCKER_CROSSPLATFORMS and CROSS vars and some hack scripts as well. Non-sandboxed build invocation is still supported and dev stages in the Dockerfile have been updated accordingly. Bake definition and GitHub Actions workflows have been updated accordingly as well. Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
* Dockerfile: DOCKER_STATIC argCrazyMax2022-12-151-0/+4
| | | | Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
* ci: gha test workflow for integration and unit testCrazyMax2022-09-071-0/+21
| | | | Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
* ci: add cross job in ci workflowCrazyMax2022-04-101-0/+13
| | | | Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
* ci: simple gha workflow to build docker daemonCrazyMax2022-03-141-0/+24
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>