All Projects → docker → bake-action

docker / bake-action

Licence: Apache-2.0 License
GitHub Action to use Docker Buildx Bake as a high-level build command

Programming Languages

typescript
32286 projects
Dockerfile
14818 projects
HCL
1544 projects

Projects that are alternatives of or similar to bake-action

latex-action
GitHub Action to compile LaTeX documents
Stars: ✭ 123 (+136.54%)
Mutual labels:  github-actions, github-actions-docker
tag-push-action
Github action to copy/retag multiarch images from one registry to another
Stars: ✭ 23 (-55.77%)
Mutual labels:  buildx, github-actions-docker
redis-github-action
Use Redis in GitHub Actions
Stars: ✭ 56 (+7.69%)
Mutual labels:  github-actions, github-actions-docker
goreleaser-xx
Cross compilation helper for GoReleaser
Stars: ✭ 34 (-34.62%)
Mutual labels:  bake, buildx
Github-Android-Action
Android Github Action that builds Android project, runs unit tests and generates debug APK, builds for Github Actions hackathon
Stars: ✭ 29 (-44.23%)
Mutual labels:  github-actions, github-actions-docker
action-ssh
GitHub Action for executing SSH commands on remote servers
Stars: ✭ 60 (+15.38%)
Mutual labels:  github-actions, github-actions-docker
intellij-platform-plugin-verifier-action
GitHub Action for executing the intellij-plugin-verifier
Stars: ✭ 20 (-61.54%)
Mutual labels:  github-actions, github-actions-docker
metadata-action
GitHub Action to extract metadata (tags, labels) from Git reference and GitHub events for Docker
Stars: ✭ 492 (+846.15%)
Mutual labels:  github-actions, github-actions-docker
ghaction-cmake
cmake swiss army knife github docker action
Stars: ✭ 19 (-63.46%)
Mutual labels:  github-actions, github-actions-docker
django-github-digitalocean
Continuously Deploying Django to DigitalOcean with Docker and GitHub Actions
Stars: ✭ 45 (-13.46%)
Mutual labels:  github-actions, github-actions-docker
assign-one-project-github-action
Automatically add an issue or pull request to specific GitHub Project(s) when you create and/or label them.
Stars: ✭ 140 (+169.23%)
Mutual labels:  github-actions, github-actions-docker
setup-swift
GitHub Action that setup a Swift environment
Stars: ✭ 114 (+119.23%)
Mutual labels:  github-actions
SpaceSeek
See and search upcoming and previous rocket space launches! Built with React Native, using Detox E2E tests, Fastlane and Github Actions for app store deployment.
Stars: ✭ 19 (-63.46%)
Mutual labels:  github-actions
aur-publish-docker-action
Github Action to publish an AUR package
Stars: ✭ 13 (-75%)
Mutual labels:  github-actions
misspell-fixer-action
📝Automatically fixes typos and mistakes in your source code and docs!
Stars: ✭ 123 (+136.54%)
Mutual labels:  github-actions
sokoban-action
Sokoban game using GitHub Actions 🤖
Stars: ✭ 26 (-50%)
Mutual labels:  github-actions
vsce-action
A GitHub Action to automate deploying VS Code extensions
Stars: ✭ 74 (+42.31%)
Mutual labels:  github-actions
self-hosted-runners-anthos
GitHub Actions Self Hosted Runners on Anthos GKE
Stars: ✭ 17 (-67.31%)
Mutual labels:  github-actions
delete-run-artifacts-action
github action to delete artifacts at the end of a workflow run
Stars: ✭ 21 (-59.62%)
Mutual labels:  github-actions
lychee-action
Github action to check for broken links in Markdown, HTML, and text files using lychee, a fast link checker written in Rust.
Stars: ✭ 89 (+71.15%)
Mutual labels:  github-actions

GitHub release GitHub marketplace Test workflow Codecov

🧪 Experimental

This repository is considered EXPERIMENTAL and under active development until further notice. It is subject to non-backward compatible changes or removal in any future version so you should pin to a specific tag/commit of this action in your workflow (i.e docker/[email protected]).

About

GitHub Action to use Docker Buildx Bake as a high-level build command.

Screenshot


Usage

name: ci

on:
  push:
    branches:
      - 'master'

jobs:
  bake:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v1
      -
        name: Login to DockerHub
        uses: docker/login-action@v1 
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/bake-action@master
        with:
          push: true

Customizing

inputs

Following inputs can be used as step.with keys

List type is a newline-delimited string

set: target.args.mybuildarg=value
set: |
  target.args.mybuildarg=value
  foo*.args.mybuildarg=value

CSV type is a comma-delimited string

targets: default,release
Name Type Description
builder String Builder instance (see setup-buildx action)
files List/CSV List of bake definition files
targets List/CSV List of bake targets
no-cache Bool Do not use cache when building the image (default false)
pull Bool Always attempt to pull a newer version of the image (default false)
load Bool Load is a shorthand for --set=*.output=type=docker (default false)
push Bool Push is a shorthand for --set=*.output=type=registry (default false)
set List List of targets values to override (eg: targetpattern.key=value)

outputs

Following outputs are available

Name Type Description
metadata JSON Build result metadata

Keep up-to-date with GitHub Dependabot

Since Dependabot has native GitHub Actions support, to enable it on your GitHub repo all you need to do is add the .github/dependabot.yml file:

version: 2
updates:
  # Maintain dependencies for GitHub Actions
  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "daily"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].