Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
archive

GitHub Action

Customizable Docker Buildx

1.0.3

Customizable Docker Buildx

archive

Customizable Docker Buildx

Configure docker to be used with buildx

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Customizable Docker Buildx

uses: ilteoood/docker_buildx@1.0.3

Learn more about this action in ilteoood/docker_buildx

Choose a version

docker_buildx

GitHub Action to build and publish images using Docker Buildx.

Inputs

The accepted inputs are:

Name Type Default Mandatory Description
tag String latest No Tags (comma separated) to apply to the image
imageName String Yes Name of the image
dockerFile String Dockerfile No Name of the Dockerfile
buildArg String No Build arguments (comma separated) used to build the image
publish Boolean false No Indicate if the builded image should be published on Docker HUB
platform String linux/amd64,linux/arm64,linux/arm/v7 No Platforms (comma separated) that should be used to build the image
dockerHubUser String Only if publish is true User that will publish the image
dockerHubPassword String Only if publish is true Password of the dockerHubUser
load Boolean false No Indicate if you want to load image into docker

Example of usage

jobs:
    build:
        runs-on: ubuntu-latest
        name: Build image job
        steps:
            - name: Checkout master
              uses: actions/checkout@master
            - name: Build and publish image
              uses: ilteoood/docker_buildx@master
              with:
                publish: true
                imageName: YOUR_IMAGE_NAME_HERE
                dockerHubUser: YOUR_USER_HERE
                dockerHubPassword: YOUR_PASSWORD_HERE